Skip to content

Commit cceeb8e

Browse files
Release 1.0.10
1 parent ea417b3 commit cceeb8e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/npm-publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages
33

44
name: npm-publish
5+
56
on:
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}

0 commit comments

Comments
 (0)