Skip to content

Commit

Permalink
ci: skip npm scripts during CI install
Browse files Browse the repository at this point in the history
- Added --ignore-scripts flag to npm ci commands
- Prevents Husky and other prepare scripts from running during CI
  • Loading branch information
orubin committed Dec 19, 2024
1 parent 33b3f02 commit 99e78af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 99e78af

Please sign in to comment.