From cb74329a389d5a14db1c9d166f9a5ccdac58dd80 Mon Sep 17 00:00:00 2001 From: Badisi Date: Fri, 16 Feb 2024 13:30:06 +0100 Subject: [PATCH] chore(ci): do not run husky on ci --- .github/workflows/ci_docs.yml | 3 +++ .github/workflows/ci_publish.yml | 1 + .github/workflows/ci_tests.yml | 3 +++ package.json | 2 +- 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 89c71da..6413a49 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -11,6 +11,9 @@ on: - '.github/workflows/ci_docs.yml' - 'projects/docs/**' +env: + HUSKY: 0 + concurrency: group: deploy-docs-group-${{ github.ref }} cancel-in-progress: true diff --git a/.github/workflows/ci_publish.yml b/.github/workflows/ci_publish.yml index f25bd4d..84c4032 100644 --- a/.github/workflows/ci_publish.yml +++ b/.github/workflows/ci_publish.yml @@ -6,6 +6,7 @@ on: env: NODE: 18 + HUSKY: 0 jobs: ci_tests: diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index 6df7989..81dde5d 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -12,6 +12,9 @@ on: workflow_call: workflow_dispatch: +env: + HUSKY: 0 + concurrency: group: run-tests-group-${{ github.ref }} cancel-in-progress: true diff --git a/package.json b/package.json index dfcc815..983cde4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "private": true, "scripts": { "ncu": "npx npm-check-updates -i --format=group --packageFile '{,projects/**/}package.json'", - "prepare": "husky" + "prepare": "husky || true" }, "workspaces": [ "projects/lib",