Don't use fmt in cli #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
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: node build.js release | |
- name: Build client | |
run: node build.js client | |
- name: Run tests | |
run: node --test | |
- name: Typecheck | |
run: npm run typecheck |