fix publishing to GPR (hopefully?)

This commit is contained in:
jake committed 2020-05-25 14:26:29 -04:00
1 parent a707a4bf30
commit bc60dacf2e
1 file changed
+7 -4
+7 -4
View File
@@ -25,8 +25,9 @@ jobs:
with: with:
node-version: 12 node-version: 12
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: npm ci - run: |
- run: npm publish --access public npm ci
npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -39,7 +40,9 @@ jobs:
with: with:
node-version: 12 node-version: 12
registry-url: https://npm.pkg.github.com/ registry-url: https://npm.pkg.github.com/
- run: npm ci scope: '@jakejarvis'
- run: npm publish --access public - run: |
npm ci
npm publish
env: env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}