Skip to content

Merge pull request #5 from Sentinel-Autonomybuilder/fix/local-deploy-… #7

Merge pull request #5 from Sentinel-Autonomybuilder/fix/local-deploy-…

Merge pull request #5 from Sentinel-Autonomybuilder/fix/local-deploy-… #7

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check:
name: typecheck + unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
# better-sqlite3 needs build tools; ubuntu-latest has them via
# build-essential by default.
- run: npm ci
- name: Rebuild native modules for system Node
run: npm run rebuild:node
- name: Typecheck (main + renderer)
run: npm run typecheck
- name: Unit tests
run: npm run test:unit
- name: Production build (all bundles)
run: npm run build