Skip to content

Commit

Permalink
update gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
niklv committed Jan 24, 2020
1 parent e22e695 commit d70d708
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 13
registry-url: https://registry.npmjs.org/
registry-url: 'https://registry.npmjs.org/'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TONEN}}

publish-gpr:
runs-on: ubuntu-latest
Expand All @@ -24,9 +24,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 13
registry-url: https://npm.pkg.github.com/
registry-url: 'https://npm.pkg.github.com/'
scope: '@niklv'
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit d70d708

Please sign in to comment.