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 2
2
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
3
3
4
4
name : npm-publish
5
+
5
6
on :
6
7
release :
7
8
types : [published]
@@ -10,17 +11,14 @@ jobs:
10
11
build :
11
12
runs-on : ubuntu-latest
12
13
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-node@v2
14
+ - uses : actions/checkout@v1
15
+ - uses : actions/setup-node@v1
15
16
with :
16
17
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/
20
19
- run : yarn install
21
20
- run : yarn build
22
21
- run : yarn test
23
- - run : echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
24
22
- run : yarn publish --access public
25
23
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