Skip to content

Commit ec23919

Browse files
committed
Enhance CI workflow to handle package-lock.json sync issues during dependency installation
1 parent 895742f commit ec23919

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ jobs:
2626
cache: 'npm'
2727

2828
- name: Install dependencies
29-
run: npm ci
29+
run: |
30+
npm ci || (echo "package-lock.json out of sync, running npm install..." && npm install)
3031
3132
- name: Run linter
3233
run: npm run lint

0 commit comments

Comments
 (0)