Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ on:
- v[0-9]+.[0-9]+.[0-9]+*
pull_request:

# one run per ref; newer push cancels the older one
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# full Node.js matrix (https://github.com/nodejs/release#release-schedule)
# only runs on push (merge to main / tags); PRs only test Node 24 to keep
# feedback fast
# full matrix on push; PRs test Node 24 only, for fast feedback
node: ${{ github.event_name == 'pull_request' && fromJson('[24]') || fromJson('[20, 22, 24, 26]') }}
runs-on: ${{ matrix.os }}
steps:
Expand Down
Loading