File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 77 release :
88 types : [created]
99
10+ permissions :
11+ id-token : write # required for OIDC
12+ contents : read
13+
1014jobs :
1115 test :
1216 runs-on : ubuntu-latest
1317 steps :
1418 - uses : actions/checkout@v5
1519 - uses : actions/setup-node@v5
1620 with :
17- cache : " npm"
1821 node-version : 22
1922 - run : npm ci --ignore-scripts --no-audit --no-fund
2023 - run : npm test
2730 - uses : actions/setup-node@v5
2831 with :
2932 node-version : 22
30- cache : " npm"
3133 registry-url : https://registry.npmjs.org/
34+ - run : npm install -g npm@latest
3235 - run : npm ci --ignore-scripts --no-audit --no-fund
3336 - run : npm run build
34- - run : npm publish --public
35- env :
36- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
37+ - run : npm publish --access public
You can’t perform that action at this time.
0 commit comments