ci: add Gitea workflow to auto-publish to npm on tag push
Publish to npm / publish (push) Successful in 37s
Publish to npm / publish (push) Successful in 37s
- .gitea/workflows/publish-npm.yml: npm ci + audit self-check + npm publish (NPM_PACKAGE_TOKEN secret) - package.json: files whitelist (src only), prepublishOnly gate, npm install support
This commit is contained in:
+14
-1
@@ -25,5 +25,18 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@earendil-works/pi-coding-agent": "0.84.4"
|
||||
}
|
||||
},
|
||||
"main": "src/index.ts",
|
||||
"files": [
|
||||
"src",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"AGENTS.md",
|
||||
"!src/*.test.ts"
|
||||
],
|
||||
"author": "rogee",
|
||||
"scripts": {
|
||||
"check": "node --experimental-strip-types --no-warnings src/audit.test.ts"
|
||||
},
|
||||
"prepublishOnly": "node --experimental-strip-types --no-warnings src/audit.test.ts"
|
||||
}
|
||||
Reference in New Issue
Block a user