File tree Expand file tree Collapse file tree 1 file changed +10
-19
lines changed Expand file tree Collapse file tree 1 file changed +10
-19
lines changed Original file line number Diff line number Diff line change 1- name : Release npm module
1+ name : Release NPM
22
33on :
44 push :
5- branches :
6- - release/*
5+ branches : [release/*]
76
8- jobs :
9- pre-release-check :
10- uses : cucumber/.github/.github/workflows/prerelease-checks.yml@main
11-
12- test-javascript :
13- uses : ./.github/workflows/test.yml
7+ permissions :
8+ id-token : write
9+ contents : read
1410
11+ jobs :
1512 publish-npm :
1613 name : Publish NPM module
17- needs : [pre-release-check, test-javascript]
1814 runs-on : ubuntu-latest
1915 environment : Release
20-
2116 steps :
2217 - uses : actions/checkout@v5
23-
2418 - uses : actions/setup-node@v5
2519 with :
26- node-version : " 22.x "
27- cache : " npm"
20+ node-version : ' 24.x '
21+ cache : ' npm'
2822 cache-dependency-path : package-lock.json
29-
23+ registry-url : ' https://registry.npmjs.org '
3024 - run : npm install-ci-test
31-
32- -
uses :
cucumber/[email protected] 33- with :
34- npm-token : ${{ secrets.NPM_TOKEN }}
25+ - run : npm publish
You can’t perform that action at this time.
0 commit comments