File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 1- # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
2- # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3-
41name : Node.js Package
52
63on :
107jobs :
118 publish-npm :
129 runs-on : ubuntu-latest
10+ permissions :
11+ contents : read
12+ id-token : write
1313 steps :
1414 - uses : actions/checkout@v6
1515 - name : Install jq tool
1818 sudo apt-get install jq
1919 - uses : actions/setup-node@v6
2020 with :
21- node-version : 16
21+ node-version : 20
2222 registry-url : https://registry.npmjs.org/
2323 - run : npm ci
24- - run : npm publish
25- env :
26- NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
24+ - run : npm publish
You can’t perform that action at this time.
0 commit comments