mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-08 22:48:20 -05:00
ci: restore package-specific tests
This commit is contained in:
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -44,13 +44,16 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
||||
# in order to test our compliance with TypeScript v4.2 (older versions are not tested)
|
||||
- name: Install TypeScript 4.2
|
||||
run: npm i typescript@4.2
|
||||
if: ${{ matrix.node-version == '16' }}
|
||||
|
||||
- name: Compile each package
|
||||
run: npm run compile --workspaces --if-present
|
||||
|
||||
- name: Run tests
|
||||
run: npm test --workspaces
|
||||
|
||||
- name: Run tests with uws (engine.io)
|
||||
run: npm run test:uws --workspace=engine.io
|
||||
if: ${{ matrix.node-version == '18' }}
|
||||
|
||||
- name: Run tests with fetch instead of XHR (engine.io-client)
|
||||
run: npm run test:node-fetch --workspace=engine.io-client
|
||||
if: ${{ matrix.node-version == '18' }}
|
||||
|
||||
Reference in New Issue
Block a user