Android route overview #690
Workflow file for this run
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
name: WASM (JS) | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: macos-15 | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-wasm-build | |
cancel-in-progress: true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install wasm-pack | |
run: cargo install wasm-pack | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- run: npm ci | |
working-directory: web | |
- run: npm run format:check | |
working-directory: web | |
- run: npm run build | |
working-directory: web | |
- name: WASM unit tests | |
run: wasm-pack test --firefox --headless ferrostar --no-default-features --features wasm_js | |
working-directory: common |