Skip to content

Commit ecb10cd

Browse files
committed
[Fix] CI/CD
1 parent a507f97 commit ecb10cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
- run: npm ci
2121
- run: npm run github-workflow-next-version -- --cmd main
2222
- run: npm run release
23+
- run: npm run pre-commit
2324
- id: pkgjson
2425
run: chmod +x ./scripts/version.sh && ./scripts/version.sh
2526
- run: git add . && git commit -m "[🚀 Release] v${{ steps.pkgjson.outputs.pkgversion }}" && git push

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"pkg-upgrade": "npx --yes npm-check-updates -u && npm run pkg-legacy",
6161
"pkg-upgrade-manually": "npx npm-check-updates --interactive && npm run pkg-legacy",
6262
"pkg-legacy": "npm install eslint@7 @typescript-eslint/eslint-plugin@5 @typescript-eslint/parser@5 eslint-plugin-jest@27 @types/yargs@16 yargs@16 --legacy-peer-deps && npm install",
63-
"prepare": "ts-patch install -s && husky init"
63+
"prepare": "ts-patch install -s"
6464
},
6565
"dependencies": {
6666
"@ptkdev/logger": "^1.8.0"

0 commit comments

Comments
 (0)