Repository navigation
Releases
Releases · MetaMask/action-npm-publish
7.0.0
Added
- BREAKING: Sanitize Yarn configuration before publishing (#138)
- Lifecycle scripts related to publishing (
prepublish,prepack) are no longer run. - This action now assumes the following Yarn options:
nodeLinker: node-modulesnpmPublishRegistry: "https://registry.npmjs.org"and/orpublishConfig.registryset tohttps://registry.npmjs.orginpackage.json.- Publishing to 3rd party registries was never officially supported by this action, but is now not allowed anymore.
- Lifecycle scripts related to publishing (
- BREAKING: Unset Yarn environment variables before running Yarn (#139)
YARN_*environment variables that are set outside of the action are no longer forwarded to Yarn.
- Print checksum and integrity in dry-run report (#141)
- The dry-run now includes a SHA-1 checksum and SHA-512 integrity hash.
Changed
- Add names to all composite action steps (#136)
6.5.0
6.4.0
6.3.0
Added
- Add
dry-runoption (#122)- If omitted, it defaults to
trueif required credentials are missing,falseotherwise. This matches current behavior. - When set to
false, this will abort when authorization is missing (rather than assuming a dry run was intended, as it does today)
- If omitted, it defaults to
6.2.1
Fixed
- Unset NPM token when package is already published (#123)
- This avoids an issue where Yarn may try to use the NPM token even when OIDC is available.
6.2.0
6.1.0
Changed
- Update the Slack message to include a link to the staged publishing instructions (#118)
6.0.0
Added
- BREAKING: Add support for NPM staged publishing (#112)
- Publishing now requires OIDC, with the exception of the initial publish (which still uses an NPM token).
- The action now uses staged publishing, meaning packages must be approved on NPM before they are published.
- The minimum Yarn version is now
4.16.0, andnpmis no longer supported.
- BREAKING: Bump minimum Node.js version to
22.14.0(#113)