Updated publish workflow

pull/53/head
MillenniumEarl 2020-11-22 12:39:08 +01:00
parent 1967813fc1
commit f2f7bc45e9
2 changed files with 5 additions and 3 deletions

View File

@ -34,7 +34,8 @@ jobs:
- run: yarn publish
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}
publich-npm:
publish-npm:
needs: publish-gpr
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@ -44,7 +45,7 @@ jobs:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
- run: npm publish --access public
env:
NPM_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}}

1
.npmrc
View File

@ -1,2 +1,3 @@
registry=https://npm.pkg.github.com/@millenniumearl
registry=https://registry.npmjs.org
always-auth=true