👷 Fix npm publish workflow
This commit is contained in:
parent
13cdb49856
commit
c9adc80fee
1 changed files with 3 additions and 3 deletions
6
.github/workflows/npm-publish.yml
vendored
6
.github/workflows/npm-publish.yml
vendored
|
@ -14,8 +14,8 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: 12
|
node-version: 12
|
||||||
registry-url: https://registry.npmjs.org/
|
registry-url: https://registry.npmjs.org/
|
||||||
- run: yarn install
|
- run: npm install
|
||||||
- run: yarn run build
|
- run: npm run build
|
||||||
- run: yarn publish
|
- run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
Loading…
Reference in a new issue