Skip to content

Commit

Permalink
Publish to NPM
Browse files Browse the repository at this point in the history
change publish.yaml workflow to publish to NPM as a public package. GH Packages requires an auth token to install
eudaimos authored Apr 19, 2021
1 parent e7c601d commit c825303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -11,11 +11,11 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '12.x'
registry-url: 'https://npm.pkg.github.com'
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
# scope: '@rollbar'
- run: npm install
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit c825303

Please sign in to comment.