Skip to content

Commit

Permalink
Add npm auth token to env for publishPackages
Browse files Browse the repository at this point in the history
  • Loading branch information
dopenguin committed Nov 25, 2024
1 parent 01ec707 commit 867fc10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ jobs:
echo "Released and tagged $TAG"
done
- run: node ./scripts/publishPackages ${{ env.TAGS }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: node ./scripts/createRelease ${{ env.TAGS }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
legacy-peer-deps=true
registry=https://registry.npmjs.org
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

0 comments on commit 867fc10

Please sign in to comment.