Skip to content

Commit

Permalink
chore: remove husky and improve ci build message
Browse files Browse the repository at this point in the history
  • Loading branch information
byCedric committed Nov 17, 2021
1 parent f1fe877 commit f7b23da
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,7 @@ jobs:
run: yarn build
- name: Build up-to-date
if: ${{ matrix.checkUpToDate }}
run: git diff --stat --exit-code build
run: |
echo "⚠️ If this step fails, the build is outdated."
echo " > run `yarn build` and commit changes"
git diff --stat --exit-code build
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-commit

This file was deleted.

4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@
"test": "jest",
"lint": "tsc --noEmit && eslint .",
"build": "node ncc.js",
"clean": "rimraf build",
"prepare": "husky install"
"clean": "rimraf build"
},
"dependencies": {
"@actions/cache": "^1.0.7",
Expand All @@ -44,7 +43,6 @@
"eslint": "^8.2.0",
"eslint-plugin-jest": "^25.2.4",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^6.0.0",
"jest": "^27.3.1",
"jest-circus": "^27.3.1",
"prettier": "^2.4.1",
Expand Down
5 changes: 0 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3397,11 +3397,6 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

husky@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/husky/-/husky-6.0.0.tgz#810f11869adf51604c32ea577edbc377d7f9319e"
integrity sha512-SQS2gDTB7tBN486QSoKPKQItZw97BMOd+Kdb6ghfpBc0yXyzrddI0oDV5MkDAbuB4X2mO3/nj60TRMcYxwzZeQ==

[email protected]:
version "0.4.24"
resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
Expand Down

0 comments on commit f7b23da

Please sign in to comment.