File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,10 @@ jobs:
19
19
with :
20
20
token : ${{ secrets.GITHUB_TOKEN }}
21
21
22
- - name : Setup Node.js
23
- uses : actions/setup-node@v1
22
+ - uses : actions/setup-node@v1
24
23
with :
25
- node-version : 10.x
24
+ node-version : 12
25
+ registry-url : https://registry.npmjs.org/
26
26
- name : Install Yarn
27
27
run : npm i yarn --global
28
28
@@ -40,19 +40,17 @@ jobs:
40
40
run : npm version --no-git-tag-version --allow-same-version ${{env.RELEASE_VERSION}}
41
41
42
42
- name : Publish to npmjs
43
- run : |
44
- npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
45
- npm publish
43
+ - run : npm publish --access public
46
44
env :
47
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
48
-
45
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
46
+
49
47
- name : The job has failed
50
48
if : ${{ failure() }}
51
49
uses : actions/upload-artifact@v1
52
50
with :
53
51
name : npm-logs
54
52
path : /home/runner/.npm/_logs
55
-
53
+
56
54
- name : Publish to Docker.io Registry
57
55
58
56
with :
You can’t perform that action at this time.
0 commit comments