Skip to content

Modernize Android CI (#297) #1

Modernize Android CI (#297)

Modernize Android CI (#297) #1

Workflow file for this run

name: WASM (JS)
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: macos-14
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 build
working-directory: web
- name: WASM unit tests
run: wasm-pack test --firefox --headless ferrostar --no-default-features --features wasm_js
working-directory: common