We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b8a91e commit cba09e2Copy full SHA for cba09e2
tools/release-package.js
@@ -157,6 +157,11 @@ if (!GH_TOKEN) {
157
process.exit(1);
158
}
159
160
+// An NPM token is needed to run the script from a local machine.
161
+// Authentication from a GitHub workflow rather relies on OpenID Connect
162
+// and the release workflow must be added as a trusted publisher for each
163
+// npm package that can be released, see:
164
+// https://docs.npmjs.com/trusted-publishers
165
const NPM_TOKEN = config?.NPM_TOKEN ?? process.env.NPM_TOKEN;
166
167
// Note: npm-publish has a bug and needs an "INPUT_TOKEN" env variable:
0 commit comments