fix: Benchmarks that use timers cannot use workers. #319
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: Test CI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| issues: write | |
| contents: read | |
| id-token: write | |
| jobs: | |
| runner-start: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Configure AWS Credentials | |
| uses: aws-actions/configure-aws-credentials@v5 | |
| with: | |
| aws-region: us-west-2 | |
| role-to-assume: arn:aws:iam::800406105498:role/RafaelGSS-nodejs-bench-operations | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Start Runner | |
| uses: nodesource/[email protected] | |
| with: | |
| instances_id: '["i-065f0f848eb1615ae"]' | |
| action: 'start' | |
| aws_default_region: 'us-west-2' | |
| build: | |
| runs-on: self-hosted | |
| strategy: | |
| matrix: | |
| node-version: [18, 20, 22, 24] | |
| env: | |
| CI: true | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run tests | |
| run: npm test |