From 99e78af08a996a1d7a667571296461ea2bda7267 Mon Sep 17 00:00:00 2001 From: Or Rubin Date: Thu, 19 Dec 2024 18:05:44 +0200 Subject: [PATCH] ci: skip npm scripts during CI install - Added --ignore-scripts flag to npm ci commands - Prevents Husky and other prepare scripts from running during CI --- .github/workflows/build-test-release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test-release.yml b/.github/workflows/build-test-release.yml index 0d96fe2..2f52e1d 100644 --- a/.github/workflows/build-test-release.yml +++ b/.github/workflows/build-test-release.yml @@ -44,11 +44,11 @@ jobs: cache: 'npm' - name: Install root dependencies - run: npm ci + run: npm ci --ignore-scripts - name: Install action dependencies working-directory: ${{ matrix.action }} - run: npm ci + run: npm ci --ignore-scripts - name: Build working-directory: ${{ matrix.action }} @@ -78,7 +78,7 @@ jobs: node-version: '20' - name: Install dependencies - run: npm ci + run: npm ci --ignore-scripts - name: Get version id: get_version