feat(ci): automatically generate release notes and build dist only on release

This commit is contained in:
Okinea Dev 2025-02-05 07:36:28 +02:00
parent 54cb141c5c
commit 642432120d
No known key found for this signature in database
GPG key ID: 07944BC5E01E7B43
5 changed files with 975 additions and 51 deletions

View file

@ -19,6 +19,7 @@
"scripts": {
"format": "prettier --write src *.yml *.json *.md",
"build": "esbuild --target=node20 --outfile=dist/setup/index.js --bundle --minify --platform=node --format=cjs src/index.ts && esbuild --target=node20 --outfile=dist/cache-save/index.js --bundle --minify --platform=node --format=cjs src/cache-save.ts",
"preversion": "npm run format && npm run build && git add .",
"start": "npm run build && node dist/setup/index.js"
},
"dependencies": {
@ -31,6 +32,7 @@
},
"devDependencies": {
"@types/node": "^20.8.2",
"changelogen": "^0.5.7",
"esbuild": "^0.19.2",
"prettier": "^2.8.4",
"typescript": "^4.9.5"