Skip to content

Commit

Permalink
refactor(ci): disable Husky in semantic release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nicedexter committed Oct 3, 2024
1 parent 049b58b commit a956610
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:

- name: Semantic release
env:
SKIP_SIMPLE_GIT_HOOKS: 1
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
run:
pnpm exec semantic-release
2 changes: 0 additions & 2 deletions .husky/pre-commit

This file was deleted.

8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@
"test:run": "SKIP_ENV_VALIDATION=1 jest",
"format:all": "prettier --write .",
"fix": "pnpm exec eslint . --fix && pnpm format:all && pnpm lint",
"prepare": "husky || true"
"prepare": "simple-git-hooks || true"
},
"simple-git-hooks": {
"pre-commit": "npm fix && pnpm test:run"
},
"dependencies": {
"@nivo/line": "^0.87.0",
Expand Down Expand Up @@ -72,7 +75,6 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.1.3",
"husky": "^9.1.5",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdom": "^25.0.1",
Expand All @@ -81,9 +83,11 @@
"prettier-plugin-tailwindcss": "^0.6.8",
"semantic-release": "^24.1.2",
"semantic-release-helm3": "^2.9.3",
"simple-git-hooks": "^2.11.1",
"tailwindcss": "^3.4.13",
"typescript": "^5.6.2"
},

"packageManager": "[email protected]+sha512.0a203ffaed5a3f63242cd064c8fb5892366c103e328079318f78062f24ea8c9d50bc6a47aa3567cabefd824d170e78fa2745ed1f16b132e16436146b7688f19b",
"engines": {
"node": ">=20.16.0",
Expand Down
19 changes: 9 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a956610

Please sign in to comment.