refactor(eio-client): remove XMLHttpRequest from the definition file #7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI (engine.io) | |
| on: | |
| push: | |
| branches: | |
| - '**' | |
| paths: | |
| - 'packages/engine.io/**' | |
| - 'packages/engine.io-client/**' | |
| - 'packages/engine.io-parser/**' | |
| - 'packages/socket.io-component-emitter/**' | |
| - '.github/workflows/ci-engine.io.yml' | |
| pull_request: | |
| paths: | |
| - 'packages/engine.io/**' | |
| - 'packages/engine.io-client/**' | |
| - 'packages/engine.io-parser/**' | |
| - 'packages/socket.io-component-emitter/**' | |
| - '.github/workflows/ci-engine.io.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Use Node.js 24 | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Compile dependencies | |
| run: | | |
| npm run compile \ | |
| --workspace=engine.io-parser | |
| - name: Compile package | |
| run: npm run compile --workspace=engine.io | |
| - name: Compile dev dependencies | |
| run: | | |
| npm run compile \ | |
| --workspace=engine.io-client | |
| - name: Run tests | |
| run: npm test --workspace=engine.io | |
| - name: Run tests with uws | |
| run: npm run test:uws --workspace=engine.io |