Some checks failed
CI / checks (push) Has been cancelled
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.
35 lines
692 B
YAML
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
|