From 030d4b994034eb6acaf49c3f9b676e74023232d5 Mon Sep 17 00:00:00 2001 From: Brett Date: Fri, 22 Dec 2023 13:29:43 +1100 Subject: [PATCH] ci: add HUSKY_SKIP_HOOKS=1 --- .github/workflows/release-on-push-to-mainline.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release-on-push-to-mainline.yml b/.github/workflows/release-on-push-to-mainline.yml index 54522795..776b04da 100644 --- a/.github/workflows/release-on-push-to-mainline.yml +++ b/.github/workflows/release-on-push-to-mainline.yml @@ -60,11 +60,9 @@ jobs: with: node-version: 20.x - name: Install - # Without --ignore-scripts we get "footer's lines must not be longer than 100 characters [footer-max-line-length]" - # on the release step - run: npm ci --ignore-scripts + run: npm ci - name: Release - run: npm run release + run: HUSKY_SKIP_HOOKS=1 npm run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}