File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
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-
4- name : Node.js Package
1+ name : Publish Package
52
63on :
74 release :
8- types : [created]
5+ types : [published]
6+
7+ permissions :
8+ id-token : write
9+ contents : read
910
1011jobs :
1112 publish-npm :
1415 - uses : actions/checkout@v4
1516 - uses : actions/setup-node@v4
1617 with :
17- node-version : 22
18+ node-version : 24
1819 registry-url : https://registry.npmjs.org/
1920 - run : npm ci
2021 - run : npm run build
2122 - run : npm publish --access public
22- env :
23- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
You can’t perform that action at this time.
0 commit comments