Skip to content

chore(ci): add concurrency #320

chore(ci): add concurrency

chore(ci): add concurrency #320

Workflow file for this run

name: cd
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
pull-requests: write
jobs:
npm:
runs-on: ubuntu-24.04
if: secrets.NPM_TOKEN != ''

Check failure on line 19 in .github/workflows/npm.yml

View workflow run for this annotation

GitHub Actions / cd

Invalid workflow file

The workflow is not valid. .github/workflows/npm.yml (Line: 19, Col: 9): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.NPM_TOKEN != ''
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
node-version: 21
- run: npm ci
- uses: JS-DevTools/[email protected]
with:
token: ${{ secrets.NPM_TOKEN }}