From 5affc676ef24276adc0a5594ef55ac3278db0099 Mon Sep 17 00:00:00 2001 From: Ivan Matveev Date: Sat, 30 May 2026 20:43:03 +0200 Subject: [PATCH] ci: publish package with npm --- README.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c826c81..031364e 100644 --- a/README.md +++ b/README.md @@ -254,6 +254,8 @@ npm run version-packages npm run publish-packages ``` +`publish-packages` runs `npm publish --access public`. + The workflow uses npm trusted publishing through GitHub Actions OIDC. Local release commands are still available when needed: diff --git a/package.json b/package.json index db74941..8babf8e 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "scripts": { "ci": "npm run typecheck && npm test && npm pack --dry-run", "local-release": "changeset version && changeset publish", - "publish-packages": "changeset publish", + "publish-packages": "npm publish --access public", "prepack": "npm run typecheck && npm test", "prepublishOnly": "npm run ci", "typecheck": "tsc --noEmit",