Update nodejs.yml

This commit is contained in:
Francisco Hodge 2019-08-26 22:07:33 -04:00 committed by GitHub
parent d8ec56bfd0
commit 5185977bcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,11 +40,9 @@ jobs:
with: with:
node-version: 12 node-version: 12
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: | - run: npm install && npm publish
npm install env:
npm publish NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
publish-gpr: publish-gpr:
needs: build needs: build
@ -56,9 +54,7 @@ jobs:
node-version: 12 node-version: 12
registry-url: https://npm.pkg.github.com/ registry-url: https://npm.pkg.github.com/
scope: '@hodgef' scope: '@hodgef'
- run: | - run: npm install && npm publish
npm install env:
npm publish NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}
env:
NODE_AUTH_TOKEN: ${{secrets.GH_TOKEN}}