-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR introduces a BREAKING CHANGE considering that the environment variable for the `NPM_TOKEN` secret is changed. Even though this is changed in the default case when the action itself writes the `.npmrc` file, this could break if the file is custom-written beforehand or if subsequent steps read from the environment variable directly.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@changesets/action": major | ||
--- | ||
|
||
use `NODE_AUTH_TOKEN` as the environment variable name for the `NPM_TOKEN` secret | ||
|
||
This matches the official GitHub `setup-node` action (documentation)[https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters