Bump the gh-actions group across 1 directory with 2 updates (#18) #126
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
| # This workflow runs the test suite across runtimes (Node, Bun, Deno) and operating | |
| # systems. Each runtime is a separate job so they execute in parallel and a failure | |
| # on one runtime/OS doesn't mask results from the others. | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
| name: CI | |
| permissions: | |
| contents: read | |
| on: | |
| push: | |
| branches: ['*'] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test-node: | |
| name: Node.js ${{matrix.node-version}} on ${{matrix.os}} | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| node-version: [22, 24, 26] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: ${{matrix.node-version}} | |
| - run: | | |
| npm ci | |
| npm run prepareDist --if-present | |
| npm run build --if-present | |
| npm test | |
| npm run ts-check --if-present | |
| npm run js-check --if-present | |
| test-bun: | |
| name: Bun on ${{matrix.os}} | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - uses: oven-sh/setup-bun@v2 | |
| - run: | | |
| npm ci | |
| npm run test:bun | |
| test-deno: | |
| name: Deno on ${{matrix.os}} | |
| runs-on: ${{matrix.os}} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macOS-latest] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 24 | |
| - uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| - run: | | |
| npm ci | |
| npm run test:deno |