Skip to content

Commit e612aa1

Browse files
authored
ci: use --ignore-scripts wherever possible (#3121)
1 parent 5c9b26e commit e612aa1

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
with:
1919
node-version: 18
2020
cache: 'npm'
21-
- run: npm ci
21+
- run: npm ci --ignore-scripts
2222
- name: Lint
2323
run: |
2424
npm run lint

.github/workflows/peer-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v5
2020

2121
- name: Install script dependencies
22-
run: npm ci
22+
run: npm ci --ignore-scripts
2323

2424
- name: Check API dependency semantics
2525
run: node ./scripts/peer-api-check.js

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Install packages
2929
run: |
30-
npm ci
30+
npm ci --ignore-scripts
3131
3232
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
3333
id: otelbot-token
@@ -80,7 +80,7 @@ jobs:
8080
# Require npm 11.5.1 or later for https://docs.npmjs.com/trusted-publishers.
8181
node-version: 24
8282
registry-url: 'https://registry.npmjs.org'
83-
- run: npm ci
83+
- run: npm ci --ignore-scripts
8484
- run: npm run compile
8585
# Release Please has already incremented versions and published tags, so we just
8686
# need to publish all unpublished versions to npm here

.github/workflows/test-all-versions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
with:
3434
node-version: 18
3535
- name: Install
36-
run: npm ci
36+
run: npm ci --ignore-scripts
3737
- name: Build
3838
run: npm run compile
3939
- name: Upload Build Artifacts
@@ -168,7 +168,7 @@ jobs:
168168
with:
169169
node-version: ${{ matrix.node }}
170170
- name: Install
171-
run: npm ci
171+
run: npm ci --ignore-scripts
172172
- name: Download Build Artifacts
173173
uses: actions/download-artifact@v5
174174
with:

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
node-version: 18
2828
- name: Install
29-
run: npm ci
29+
run: npm ci --ignore-scripts
3030
# Note: when pushing to main we want to test only what changed in
3131
# last commit. Otherwise we want to test all changes from origin/main.
3232
# So we set the right values for base and head commits depending
@@ -195,7 +195,7 @@ jobs:
195195
with:
196196
node-version: ${{ matrix.node }}
197197
- name: Install
198-
run: npm ci
198+
run: npm ci --ignore-scripts
199199
- name: Download Build Artifacts
200200
uses: actions/download-artifact@v5
201201
with:
@@ -244,7 +244,7 @@ jobs:
244244
with:
245245
node-version: 18
246246
- name: Install
247-
run: npm ci
247+
run: npm ci --ignore-scripts
248248
# NOTE: keep this in sync with the node versions from `unit-test` job
249249
- name: Download Test Artifacts (18)
250250
uses: actions/download-artifact@v5

.github/workflows/update-otel-deps.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
- run: npm install -g npm@latest
3131

32-
- run: npm ci
32+
- run: npm ci --ignore-scripts
3333

3434
- name: Create/Update Release PR
3535
run: |

0 commit comments

Comments
 (0)