Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Build and lint UI in CI #61

Merged
merged 1 commit into from
Sep 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 19 additions & 3 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,27 @@ jobs:

steps:
- uses: actions/checkout@v1
- name: Build
- uses: jetli/wasm-pack-action@v0.4.0
- uses: pnpm/action-setup@v4
with:
version: latest
- name: Build Rust
run: cargo build --locked
- name: Format
- name: Format Rust
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy -- --deny warnings
- name: Test
- name: Test Rust
run: cargo test --locked
- name: WASM
working-directory: rufus-wasm
run: wasm-pack build
- name: UI Install
working-directory: rufus-ui
run: pnpm install --frozen-lockfile
- name: UI Build
working-directory: rufus-ui
run: pnpm build
- name: UI Lint
working-directory: rufus-ui
run: pnpm lint
Loading