Skip to content

Commit 0d14bfe

Browse files
Fix merge issues
1 parent 69c80a8 commit 0d14bfe

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

.github/workflows/release-publish.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}
2121

22-
- name: Setup Node.js
23-
uses: actions/setup-node@v1
22+
- uses: actions/setup-node@v1
2423
with:
25-
node-version: 10.x
24+
node-version: 12
25+
registry-url: https://registry.npmjs.org/
2626
- name: Install Yarn
2727
run: npm i yarn --global
2828

@@ -40,19 +40,17 @@ jobs:
4040
run: npm version --no-git-tag-version --allow-same-version ${{env.RELEASE_VERSION}}
4141

4242
- name: Publish to npmjs
43-
run: |
44-
npm set //registry.npmjs.org/:_authToken $NPM_TOKEN
45-
npm publish
43+
- run: npm publish --access public
4644
env:
47-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
48-
45+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
46+
4947
- name: The job has failed
5048
if: ${{ failure() }}
5149
uses: actions/upload-artifact@v1
5250
with:
5351
name: npm-logs
5452
path: /home/runner/.npm/_logs
55-
53+
5654
- name: Publish to Docker.io Registry
5755
uses: elgohr/[email protected]
5856
with:

0 commit comments

Comments
 (0)