Skip to content

Commit 06601ac

Browse files
vbomfimCopilot
andcommitted
Fix CI: fallback to npm install if npm ci fails
Tailwind CSS v4 uses platform-specific native bindings that may not resolve correctly with npm ci across platforms. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 5a3ddfa commit 06601ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version: 22
2222
cache: npm
2323

24-
- run: npm ci
24+
- run: npm ci || npm install
2525

2626
- name: Type check
2727
run: npm run check

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
node-version: 22
2626
cache: npm
2727

28-
- run: npm ci
28+
- run: npm ci || npm install
2929

3030
- name: Build
3131
run: npm run build

0 commit comments

Comments
 (0)