You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: npm-scripts.mjs
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -241,7 +241,7 @@ function installDeps() {
241
241
* `prepublishOnly` is run by NPM only on `npm publish` (not on `npm pack`,
242
242
* `npm install` or `npm ci`). We use it to forbid publishing mediasoup-client
243
243
* from a local machine. The package must only be published by the
244
-
* `mediasoup-client-npm-publish.yaml` workflow, which runs inside GitHub Actions
244
+
* `mediasoup-client-npm-publish` workflow, which runs inside GitHub Actions
245
245
* (where GITHUB_ACTIONS environment variable is set to 'true') and uses OIDC
246
246
* trusted publishing.
247
247
*/
@@ -250,7 +250,7 @@ function prepublishOnly() {
250
250
251
251
if(process.env.GITHUB_ACTIONS!=='true'){
252
252
logError(
253
-
"prepublishOnly() | refusing to 'npm publish' outside of GitHub Actions: mediasoup-client is published only by the mediasoup-client-npm-publish.yaml workflow (triggered by pushing a release tag via 'npm run release')"
253
+
"prepublishOnly() | refusing to 'npm publish' outside of GitHub Actions: mediasoup-client is published only by the mediasoup-client-npm-publish workflow (triggered by pushing a release tag via 'npm run release')"
0 commit comments