Skip to content

Commit 9944585

Browse files
committed
Use npm publish in release workflow
Replace the publish step in the GitHub Actions workflow to call `npm publish` instead of `pnpm run publish`. This ensures the release uses the npm CLI (and avoids relying on pnpm or a project-specific publish script) after the job already upgrades npm to the latest version.
1 parent 27ffd6e commit 9944585

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/npm-release.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
- name: Upgrade npm
2626
run: npm i -g npm@latest
2727
- name: Publish to NPM
28-
run: pnpm run publish
28+
run: npm publish

0 commit comments

Comments
 (0)