File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed
Expand file tree Collapse file tree 1 file changed +2
-20
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 :
74 release :
85 types : [created]
96
10- jobs :
11- publish-gpr :
12- runs-on : ubuntu-latest
13- permissions :
14- contents : read
15- packages : write
16- steps :
17- - uses : actions/checkout@v2
18- - uses : actions/setup-node@v2
19- with :
20- node-version : 14
21- registry-url : https://npm.pkg.github.com/
22- - run : npm publish
23- env :
24- NODE_AUTH_TOKEN : ${{secrets.GITHUB_TOKEN}}
25-
7+ jobs :
268 publish-yarn :
279 runs-on : ubuntu-latest
2810 permissions :
3517 node-version : ' 14.x'
3618 registry-url : ' https://registry.npmjs.org'
3719 scope : ' @modifiedcommand'
38- - run : yarn publish
20+ - run : yarn publish --access public
3921 env :
4022 NODE_AUTH_TOKEN : ${{ secrets.NPMTOKEN }}
4123
You can’t perform that action at this time.
0 commit comments