Skip to content

Commit

Permalink
.github: Fix CI by first building the frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Oct 15, 2024
1 parent 97bf8f3 commit ebccce9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable

- name: Check code style
run: cargo fmt -- --check

- name: Build Frontend
working-directory: src/webpage
run: trunk build --release --locked --verbose

- name: Build
run: cargo build --verbose
run: SKIP_FRONTEND=1 cargo build --verbose

- name: Test
run: cargo test --verbose -- --nocapture

Expand Down

0 comments on commit ebccce9

Please sign in to comment.