diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e00ebba..5bba579 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,8 +25,9 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish --access public + - run: | + npm ci + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -39,7 +40,9 @@ jobs: with: node-version: 12 registry-url: https://npm.pkg.github.com/ - - run: npm ci - - run: npm publish --access public + scope: '@jakejarvis' + - run: | + npm ci + npm publish env: NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}