Skip to content

Commit

Permalink
Minor.
Browse files Browse the repository at this point in the history
  • Loading branch information
anlerandy committed Feb 7, 2021
1 parent 2e2c8a5 commit 4a2e68f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ jobs:
needs: build
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
TERM: xterm-256color
steps:
- uses: actions/checkout@v2
Expand All @@ -32,13 +34,13 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
env:
NODE_AUTH_TOKEN: ${{secrets.GITPACKAGES_TOKEN}}
NPM_TOKEN: ${{secrets.GITPACKAGES_TOKEN}}
TERM: xterm-256color
steps:
- uses: actions/checkout@v2
Expand All @@ -48,5 +50,3 @@ jobs:
registry-url: https://npm.pkg.github.com/
- run: npm i
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 4a2e68f

Please sign in to comment.