Skip to content

Commit 2db1ba2

Browse files
committed
cosmetic
1 parent abafd0b commit 2db1ba2

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

npm-scripts.mjs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ function installDeps() {
241241
* `prepublishOnly` is run by NPM only on `npm publish` (not on `npm pack`,
242242
* `npm install` or `npm ci`). We use it to forbid publishing mediasoup-client
243243
* 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
245245
* (where GITHUB_ACTIONS environment variable is set to 'true') and uses OIDC
246246
* trusted publishing.
247247
*/
@@ -250,7 +250,7 @@ function prepublishOnly() {
250250

251251
if (process.env.GITHUB_ACTIONS !== 'true') {
252252
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')"
254254
);
255255

256256
exitWithError();
@@ -325,15 +325,15 @@ async function release({ args = '' } = {}) {
325325
replaceVersion();
326326

327327
// Commit the bump, tag it, and push both. The pushed tag triggers
328-
// `mediasoup-client-npm-publish.yaml`, which checks, creates the GitHub
328+
// `mediasoup-client-npm-publish` workflow, which checks, creates the GitHub
329329
// release and publishes to NPM.
330330
//
331331
// The commit message carries a "[no-ci]" marker so the regular branch CI
332332
// workflow skips this commit.
333333
//
334334
// NOTE: "[no-ci]" (with a hyphen) is a custom marker, NOT GitHub's native
335-
// "[skip ci]"/"[no ci]" (which would also skip mediasoup-npm-publish, since
336-
// the tag push shares this same commit).
335+
// "[skip ci]"/"[no ci]" (which would also skip `mediasoup-client-npm-publish`
336+
// workflow, since the tag push shares this same commit).
337337
executeCmd(`git commit -am 'release ${version} [no-ci]'`);
338338
executeCmd(`git tag -a ${version} -m '${version}'`);
339339
executeCmd(`git push origin ${MAIN_BRANCH}`);

0 commit comments

Comments
 (0)