File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33
44name : npm-publish
5+
56on :
67 release :
78 types : [published]
@@ -10,17 +11,14 @@ jobs:
1011 build :
1112 runs-on : ubuntu-latest
1213 steps :
13- - uses : actions/checkout@v2
14- - uses : actions/setup-node@v2
14+ - uses : actions/checkout@v1
15+ - uses : actions/setup-node@v1
1516 with :
1617 node-version : ' ~14.17.1'
17- cache : yarn
18- always-auth : true
19- registry-url : ' https://registry.npmjs.org'
18+ registry-url : https://registry.npmjs.org/
2019 - run : yarn install
2120 - run : yarn build
2221 - run : yarn test
23- - run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
2422 - run : yarn publish --access public
2523 env :
26- NODE_AUTH_TOKEN : ${{ secrets.NPM_AUTH_TOKEN } }
24+ NODE_AUTH_TOKEN : ${{secrets.NPM_AUTH_TOKEN}
You can’t perform that action at this time.
0 commit comments