bitflow-market-maker-public/.github/workflows/ci.yml
Bought a447820d9a
Some checks failed
CI / checks (push) Has been cancelled
ci: run tests, typecheck and builds on pull requests (#18)
Runs the checks CONTRIBUTING.md asks contributors to run: npm test,
typecheck and build at the root, then the ui/ build. Read-only token,
Node 20.
2026-12-01 11:43:31 -07:00

35 lines
692 B
YAML

name: CI
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
checks:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: |
package-lock.json
ui/package-lock.json
- run: npm ci
- run: npm test
- run: npm run typecheck
- run: npm run build
- run: npm --prefix ui ci
- run: npm --prefix ui run build