Skip to content

Checkout submodules

Checkout submodules #2

Workflow file for this run

name: Test
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: laytan/setup-odin@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
release: latest
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- name: Install dependencies
run: npm install
- name: Build binary
run: ./build.sh
- name: Build client
run: ./build.sh client
- name: Run tests
run: node --test
- name: Typecheck
run: npm run typecheck