Skip to content

Commit 4a59255

Browse files
Handle package files conditions.
1 parent 4e9f4fd commit 4a59255

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
node-version: 22.11.0
1616
registry-url: https://npm.pkg.github.com/
17-
- run: npm ci
17+
- run: npm ci --ignore-scripts
1818
- name: Run Unit Tests
1919

2020
run: npm run test:unit
@@ -27,7 +27,7 @@ jobs:
2727
with:
2828
node-version: 22.11.0
2929
registry-url: https://npm.pkg.github.com/
30-
- run: npm ci
30+
- run: npm ci --ignore-scripts
3131
- name: Code Linting
3232
run: npm run lint
3333
- run: npm run build --if-present

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ jobs:
137137
138138
- name: NPM ci and build
139139
run: |
140-
npm ci
140+
npm ci --ignore-scripts
141141
npm run build
142142
143143
- name: Create Pull Request

0 commit comments

Comments
 (0)