diff --git a/.github/workflows/fast-path.yml b/.github/workflows/fast-path.yml index 2a05d45..09de30e 100644 --- a/.github/workflows/fast-path.yml +++ b/.github/workflows/fast-path.yml @@ -24,8 +24,10 @@ on: required: true permissions: contents: read +# run_id keeps each dispatch in its own group: a ref-keyed group would let +# a later dispatch cancel one that is still waiting for approval. concurrency: - group: fast-path-${{ inputs.ref }} + group: fast-path-${{ inputs.ref }}-${{ github.run_id }} cancel-in-progress: false env: NPM_CONFIG_FUND: false @@ -44,7 +46,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "20" - cache: npm - run: npm ci - run: npm run lint - run: npm run typecheck @@ -66,7 +67,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22" - cache: npm - run: npm ci - run: npm run build - run: npm run test:run @@ -81,7 +81,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: "22.14.0" - cache: npm - run: npm ci - name: Set the fast version id: version