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
23 changes: 12 additions & 11 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ on:
- next
- hot-middleware

# A new commit supersedes the previous one's jobs, so stop paying for them: the
# matrix below fans out across three operating systems and four Node.js
# versions. Only pull request runs share a group; every other run gets a group
# of its own (`github.run_id`), because a group holds at most one pending run
# and a later push would otherwise evict the one waiting — `cancel-in-progress`
# protects the running run, not the queued one. The branches this also builds
# on push (`main`, `next`, `hot-middleware`) publish coverage, and losing one of
# those runs would also hide a breakage that is already on the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

Expand All @@ -29,9 +41,6 @@ jobs:

runs-on: ${{ matrix.os }}

concurrency:
group: lint-${{ matrix.os }}-v${{ matrix.node-version }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
Expand Down Expand Up @@ -67,10 +76,6 @@ jobs:

runs-on: ${{ matrix.os }}

concurrency:
group: test-${{ matrix.os }}-v${{ matrix.node-version }}-${{ matrix.webpack-version }}-${{ github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Expand Down Expand Up @@ -99,10 +104,6 @@ jobs:
# every OS and node version. One job runs it, off the matrix.
runs-on: ubuntu-latest

concurrency:
group: client-${{ github.ref }}
cancel-in-progress: true

steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

Expand Down
Loading