Strip ANSI control codes from benchmark output in GitHub Actions summary #209
Workflow file for this run
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: websocket-tests | |
| on: [pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [18.x, 20.x, 22.x] | |
| fail-fast: false | |
| name: Test on Node.js ${{ matrix.node-version }} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: pnpm/action-setup@v2 | |
| with: | |
| version: 8 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: 'pnpm' | |
| - name: Install dependencies | |
| run: pnpm install | |
| - name: Run lint | |
| run: pnpm run lint | |
| - name: Run unit tests | |
| run: pnpm run test | |
| - name: Pull Autobahn Test Suite Docker image | |
| run: docker pull crossbario/autobahn-testsuite | |
| - name: Run Autobahn WebSocket Protocol Tests | |
| run: cd test/autobahn && node run-wstest.js |