diff --git a/.github/workflows/test-and-publish.yaml b/.github/workflows/test-and-publish.yaml index a76ca1e5..6273386e 100644 --- a/.github/workflows/test-and-publish.yaml +++ b/.github/workflows/test-and-publish.yaml @@ -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 }}