File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 matrix :
2020 node-version : [20, 22]
2121 steps :
22- - uses : actions/checkout@v4
22+ - uses : actions/checkout@v5
2323 - uses : actions/setup-node@v4
2424 with :
2525 node-version : ${{ matrix.node-version }}
@@ -32,18 +32,21 @@ jobs:
3232 publish :
3333 name : Publish to npm
3434 needs : test
35- if : startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch'
35+ if : startsWith(github.ref, 'refs/tags/v')
3636 runs-on : ubuntu-latest
37+ concurrency :
38+ group : npm-publish
39+ cancel-in-progress : false
3740 permissions :
3841 contents : read
3942 id-token : write
4043 steps :
41- - uses : actions/checkout@v4
44+ - uses : actions/checkout@v5
4245 - uses : actions/setup-node@v4
4346 with :
4447 node-version : 20
4548 cache : npm
46- registry-url : https://registry.npmjs.org
49+ registry-url : ' https://registry.npmjs.org'
4750 - run : npm ci
4851 - run : npm publish --provenance --access public
4952 env :
You can’t perform that action at this time.
0 commit comments