Skip to content

Commit ffd15e1

Browse files
committed
fix(ci): fallback to npm install if ci fails
1 parent f203049 commit ffd15e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/accessibility-diff.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ jobs:
3232

3333
- name: Install dependencies
3434
run: |
35-
npm ci
35+
# prefer clean install, but fall back to `npm install` when lockfile and package.json are out of sync
36+
npm ci || npm install --no-audit --no-fund
3637
3738
- name: Install Playwright browsers and dependencies
3839
run: |

0 commit comments

Comments
 (0)