mirror of
https://github.com/socketio/socket.io.git
synced 2026-01-09 15:08:12 -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
|
- name: Install dependencies
|
||||||
run: npm ci
|
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
|
- name: Compile each package
|
||||||
run: npm run compile --workspaces --if-present
|
run: npm run compile --workspaces --if-present
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test --workspaces
|
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