Skip to content

Commit

Permalink
ci: update npm-publish-github-packages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
The-Best-Codes committed Jul 22, 2024
1 parent a262865 commit 76fee53
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm login
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 76fee53

Please sign in to comment.