name: CI on: push: branches: [main] pull_request: workflow_dispatch: jobs: test: # WarpBuild's 2-vCPU Ubuntu runner. runs-on: warp-ubuntu-latest-x64-2x steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 24 # Glob, not a directory: Node 24 doesn't expand `node --test tests/`. # The live Omarchy menu test skips itself when Omarchy isn't installed. - name: Unit tests run: node --test tests/*.test.js - uses: dtolnay/rust-toolchain@stable - name: Search helper run: | cargo test --locked --manifest-path search/Cargo.toml bin/build-search node --test tests/search-integration.test.js - name: Shell syntax run: | for script in bin/omacast bin/build-search tests/smoke.sh tests/native-transport.sh; do bash -n "$script" done - name: Plugin manifest is valid JSON run: node -e 'JSON.parse(require("fs").readFileSync("manifest.json", "utf8"))'