Skip to content

Commit c825303

Browse files
authored
Publish to NPM
change publish.yaml workflow to publish to NPM as a public package. GH Packages requires an auth token to install
1 parent e7c601d commit c825303

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
- uses: actions/setup-node@v2
1212
with:
1313
node-version: '12.x'
14-
registry-url: 'https://npm.pkg.github.com'
14+
registry-url: 'https://registry.npmjs.org'
1515
# Defaults to the user or organization that owns the workflow file
1616
# scope: '@rollbar'
1717
- run: npm install
1818
- run: npm run build
1919
- run: npm publish
2020
env:
21-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)