chore(deps-dev): bump eslint-plugin-promise from 6.6.0 to 7.1.0 #694
Workflow file for this run
This file contains 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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test-node-versions: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
# List of supported node versions (latest is tested in `test-os`) | |
- 18.x | |
- 20.x | |
- 22.x | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm test | |
# Ensure the repository is clean after build & test | |
- run: git --no-pager diff --compact-summary --exit-code | |
test-os: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
# Test the latest node version here, move older versions to `test-old-node-versions` | |
- 20.x | |
os: | |
- ubuntu-latest | |
- windows-latest | |
- macos-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm test | |
# Ensure the repository is clean after build & test | |
- run: git --no-pager diff --compact-summary --exit-code | |
test-performance: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
node-version: | |
- 20.x | |
os: | |
- ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
# test:integrations will setup the test environment, which contains some perf tests. | |
- run: npm run test:integrations | |
- run: npm run perf |