Skip to content

Merge pull request #11 from PredicateSystems/demo3 #38

Merge pull request #11 from PredicateSystems/demo3

Merge pull request #11 from PredicateSystems/demo3 #38

Workflow file for this run

name: tests
on:
pull_request:
push:
branches: ["main", "hack_demo"]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ["20", "22"]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run type check
run: npm run typecheck
- name: Run tests
run: npm test