Commit Graph
3 Commits
Author SHA1 Message Date
yetone 8f25b63718 publish from GitHub Actions with npm's trusted publishing, no one-time password [skip ci]
.github/workflows/publish.yml runs the tests (in a throwaway HOME) and
scripts/publish.sh on each package.json change pushed to main, or by hand;
npm's OIDC exchange stands in for a token and an OTP. Every package now
names magpie-community/plugins' publish.yml as its trusted publisher on
npmjs.com, and gets the repository field npm checks it against.
2026-10-03 00:00:23 +08:00
yetone dbc1c301df publish: always to registry.npmjs.org, whatever ~/.npmrc names — with npmmirror as the registry (common in China) the publish went there and was refused (ENEEDAUTH), and npm view checked the mirror for what is published 2026-10-02 16:58:50 +08:00
yetone e2301c37ed scripts/publish.sh: publishes every package whose version isn't on npm yet, with one OTP for the lot 2026-09-30 21:23:08 +08:00