Updated publish workflow
parent
1967813fc1
commit
f2f7bc45e9
|
@ -34,7 +34,8 @@ jobs:
|
||||||
- run: yarn publish
|
- run: yarn publish
|
||||||
env:
|
env:
|
||||||
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
||||||
publich-npm:
|
publish-npm:
|
||||||
|
needs: publish-gpr
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
@ -44,7 +45,7 @@ jobs:
|
||||||
node-version: '12.x'
|
node-version: '12.x'
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm publish
|
- run: npm publish --access public
|
||||||
env:
|
env:
|
||||||
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue