From 2fec57d486e6b17397be7ed78aa354408d50d1a9 Mon Sep 17 00:00:00 2001 From: Caian Ertl Date: Fri, 3 Jul 2026 21:24:24 -0300 Subject: [PATCH] ci(node): use --no-gh-release for napi pre-publish `napi pre-publish` has no `--skip-gh-release` flag; the option is the boolean `--gh-release` (default true), so skipping the GitHub release is `--no-gh-release`. The wrong flag aborted the publish at argument parsing. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release-npm.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index b89b6a8..c28e7f7 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -95,7 +95,7 @@ jobs: - name: Publish run: | - npx napi pre-publish -t npm --skip-gh-release + npx napi pre-publish -t npm --no-gh-release npm publish --access public --provenance --ignore-scripts env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}