Skip to content

Commit

Permalink
little action update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tasye24 committed Apr 26, 2023
1 parent e05dc8d commit 5d9f6d0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/npm-publish-github-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,15 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
registry-url: https://npm.pkg.github.com/
scope: '@tasye24'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GHUB_TOKEN}}
- run: npm ci
# error in this line https://github.com/Tasye24/tasye-languages-tools/issues/1
- run: npm publish --access=public --registry https://registry.npmjs.org/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{secrets.GHUB_TOKEN}}
publish-gpr:
name: Publish to GitHub Packages
needs: build
Expand Down

0 comments on commit 5d9f6d0

Please sign in to comment.