Skip to content

Commit

Permalink
fix(npm releases): match environment variable with GHA (#619)
Browse files Browse the repository at this point in the history
a55698e changed the environment variable being set from GitHub Actions, following the naming convention suggested by the documentation.

However, we weren't using the same name in the .npmrc file that we copy into the working directory, and this one gets used instead of the one created by actions/setup-node.
  • Loading branch information
alexeagle authored Aug 1, 2023
1 parent 36d4ade commit 03ce620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# NPM_TOKEN read from env or GH Secret (.github/workflows/release.yaml)
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
//registry.npmjs.org/:_authToken=${NPM_AUTH_TOKEN}

0 comments on commit 03ce620

Please sign in to comment.