Skip to content

Commit 2b8c804

Browse files
haasonsaasclaude
andcommitted
Fix CI: build frontend before Rust compile for rust-embed
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent acdf145 commit 2b8c804

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- uses: actions/checkout@v4
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version: '20'
20+
- name: Build frontend
21+
run: cd web && npm ci && npm run build
1722
- uses: dtolnay/rust-toolchain@stable
1823
with:
1924
components: rustfmt, clippy
@@ -30,6 +35,11 @@ jobs:
3035
os: [ubuntu-latest, macos-latest, windows-latest]
3136
steps:
3237
- uses: actions/checkout@v4
38+
- uses: actions/setup-node@v4
39+
with:
40+
node-version: '20'
41+
- name: Build frontend
42+
run: cd web && npm ci && npm run build
3343
- uses: dtolnay/rust-toolchain@stable
3444
- uses: Swatinem/rust-cache@v2
3545
- name: Test

0 commit comments

Comments
 (0)