Skip to content

Commit a67e41f

Browse files
Optimize npm installation for CI
1 parent 84050a8 commit a67e41f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ jobs:
3030
cache: 'npm'
3131

3232
- name: Install Dependencies
33-
run: npm install --legacy-peer-deps
33+
run: |
34+
npm ci --legacy-peer-deps || npm install --legacy-peer-deps
35+
env:
36+
npm_config_audit: false
37+
npm_config_fund: false
3438

3539
- name: Build Assets
3640
run: npm run build

0 commit comments

Comments
 (0)