This repository was archived by the owner on May 16, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 npm :
9- name : NPM
9+ name : Publish
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@v1
13+ name : Checkout Code
1314 - uses : actions/setup-node@v1
15+ name : Setup Node for NPM
1416 with :
1517 node-version : 12
1618 registry-url : https://registry.npmjs.org/
1719 - run : npm install
20+ name : Install dependencies
1821 - run : npm publish
22+ name : Publish to NPM
1923 env :
20- NODE_AUTH_TOKEN : ${{secrets.npm_token}}
21- github :
22- name : GitHub Package Registry
23- runs-on : ubuntu-latest
24- steps :
25- - uses : actions/checkout@v2
26- - uses : actions/setup-node@v1
27- with :
28- node-version : 12
29- registry-url : ' https://npm.pkg.github.com'
30- - run : npm install
31- - run : npm publish
32- env :
33- NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
24+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
25+ - uses : actions/setup-node@v1
26+ name : Setup Node for the GitHub Package Registry
27+ with :
28+ registry-url : https://npm.pkg.github.com
29+ - run : npm publish
30+ name : Publish to the GitHub Package Registry
31+ env :
32+ NODE_AUTH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments