Skip to content

Commit

Permalink
ci: skip husky
Browse files Browse the repository at this point in the history
  • Loading branch information
joe-bell committed Jun 29, 2023
1 parent 344481f commit 45e0fb5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/actions/install/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ runs:

- name: Install dependencies
shell: bash
env:
SKIP_INSTALL_HUSKY: 1
run: pnpm i --frozen-lockfile
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
BRANCH: ${{ github.event.pull_request.head.ref }}
run: >
{
echo "**The latest updates for \`examples/*\`.**";
echo "**The latest updates to examples.**";
echo "";
echo "| Name | StackBlitz |";
echo "|:---------|:------------|";
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint-staged": "lint-staged --config .config/lint-staged.config.mjs",
"preinstall": "npx only-allow pnpm",
"prepare": "run-p -s prepare:*",
"prepare:husky": "if-env VERCEL=1 && echo 'Skipping prepare' || husky install",
"prepare:husky": "if-env SKIP_INSTALL_HUSKY=1 && echo 'Skipping husky install' || husky install",
"prepare:packages": "pnpm build",
"prettier": "prettier --config .prettierrc.cjs --ignore-unknown --no-error-on-unmatched-pattern",
"syncpack": "syncpack list-mismatches --config .config/.syncpackrc",
Expand Down

0 comments on commit 45e0fb5

Please sign in to comment.