-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,15 +37,26 @@ jobs: | |
- name: Install npm | ||
uses: actions/setup-node@v4 | ||
|
||
- name: npm install | ||
- name: Install npm deps | ||
working-directory: app | ||
run: npm ci; | ||
|
||
# dotenvy requires this | ||
- run: cp .env.example .env | ||
|
||
- name: cargo fmt | ||
- name: Format check | ||
run: cargo +nightly fmt --all -- --check | ||
|
||
- name: cargo clippy | ||
- name: Lint check | ||
run: cargo +stable clippy --all-features -- -D warnings | ||
|
||
- name: Test | ||
run: cargo test | ||
|
||
- name: Install Dioxus | ||
# run: cargo binstall [email protected] -y --force | ||
run: cargo install --git https://github.com/DioxusLabs/dioxus.git --rev 87c2f64f134756578f6cf9e12fd085b9bb03c5c7 dioxus-cli --locked | ||
|
||
- name: Build app | ||
working-directory: app | ||
run: dx build --platform web --features web |