File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change 88permissions :
99 contents : read
1010 id-token : write
11- security-events : write # Added for Snyk SARIF upload
11+ security-events : write
1212
1313jobs :
1414 publish :
1515 runs-on : ubuntu-latest
1616 steps :
1717 - uses : actions/checkout@v4
1818 with :
19- fetch-depth : 0 # Needed for Snyk
19+ fetch-depth : 0
2020
2121 - uses : actions/setup-node@v4
2222 with :
2323 node-version : " 20"
2424 registry-url : " https://registry.npmjs.org"
25+ cache : " npm"
2526
2627 - name : Update npm
2728 run : npm install -g npm@latest
2829
29- - run : npm ci
30- - run : npm run build
30+ - name : Install dependencies
31+ run : npm ci
3132
32- - run : cd out && npm publish --access public --provenance
33+ - name : Build
34+ run : npm run build
35+
36+ - name : Publish to npm (trusted publishing)
37+ run : cd out && npm publish --access public --provenance
You can’t perform that action at this time.
0 commit comments