Skip to content

Commit

Permalink
Merge pull request #829 from g-ongenae/fixture/fix-token-of-publish-o…
Browse files Browse the repository at this point in the history
…n-github-packages

[CI] Fix token use during github packages publish
  • Loading branch information
g-ongenae authored Dec 7, 2023
2 parents 924f1ef + 170cd53 commit 254f990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ jobs:
echo "@algoan:registry=https://npm.pkg.github.com" > .npmrc
echo "//npm.pkg.github.com/:_authToken=\${NODE_AUTH_TOKEN}" >> .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_REPO_GHA_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publishing to GitHub Packages
run: npx lerna publish from-git --yes --registry=https://npm.pkg.github.com
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_REPO_GHA_PAT }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 254f990

Please sign in to comment.