Skip to content

Commit a834ee7

Browse files
committed
ci: try ignoring postinstall scripts
`sharp` postinstall script fails on node rc versions due to this strict semver check: ``` npm error sharp: Installation error: Expected Node.js version >=14.15.0 but found 24.0.0-rc.2 ```
1 parent b6f44c2 commit a834ee7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/e2e-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
version: 10
4747

4848
- name: Install dependencies
49-
run: npm ci --no-audit
49+
run: npm ci --ignore-scripts --no-audit
5050

5151
- name: Build project
5252
run: npm run build
@@ -98,7 +98,7 @@ jobs:
9898
version: 10
9999

100100
- name: Install dependencies
101-
run: npm ci --no-audit
101+
run: npm ci --ignore-scripts --no-audit
102102

103103
- name: Build project
104104
run: npm run build

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
deno-version: v1.44.4
6363

6464
- name: Install core dependencies
65-
run: npm ci --no-audit
65+
run: npm ci --ignore-scripts --no-audit
6666

6767
- name: Build project
6868
run: npm run build

.github/workflows/unit-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
check-latest: true
3636

3737
- name: Install core dependencies
38-
run: npm ci --no-audit
38+
run: npm ci --ignore-scripts --no-audit
3939

4040
- name: Build project
4141
run: npm run build

0 commit comments

Comments
 (0)