CI: publish every push to the staging registry

main → latest (the package.json version, skipped if already published), next → next,
other branches → dev-<branch> as <version>-<tag>.<timestamp> prereleases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017Qxbkp4tA7G5SCWjzWuxmE
This commit is contained in:
Claude
2026-10-23 13:43:51 +00:00
parent 631c75428b
commit ad517965ee
3 changed files with 69 additions and 1 deletions
+4
View File
@@ -14,11 +14,15 @@
"import": "./dist/index.js"
}
},
"publishConfig": {
"registry": "https://verdaccio.harvmaster.com/"
},
"files": [
"dist"
],
"scripts": {
"build": "tsc -p tsconfig.build.json",
"prepack": "npm run build",
"typecheck": "tsc --noEmit",
"test": "tsc --noEmit && vitest run",
"test:watch": "vitest",