mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 00:49:17 +01:00
Add .oxfmtignore to skip generated bindings and wasm-pack output. Add npm format script, update DEVELOPMENT.md for Vite+ toolchain, and format all non-generated files with oxfmt. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
34 lines
658 B
YAML
34 lines
658 B
YAML
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
name: Lint and Test
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
test:
|
|
name: Lint/Test
|
|
runs-on: macos-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: voidzero-dev/setup-vp@v1
|
|
with:
|
|
node-version: "24"
|
|
cache: true
|
|
- uses: dtolnay/rust-toolchain@stable
|
|
- uses: Swatinem/rust-cache@v2
|
|
with:
|
|
shared-key: ci
|
|
cache-on-failure: true
|
|
|
|
- run: vp install
|
|
- run: npm run bootstrap
|
|
- run: npm run lint
|
|
- name: Run JS Tests
|
|
run: vp test
|
|
- name: Run Rust Tests
|
|
run: cargo test --all
|