Skip to content

add building to github test workflow #42

add building to github test workflow

add building to github test workflow #42

Workflow file for this run

name: Test
on: { push: { branches: [ main ] }, pull_request: { branches: [ main ] } }
jobs:
build:
runs-on: ubuntu-latest
steps:
- { name: Checkout, uses: actions/checkout@v4 }
- { name: Setup Node.js environment, uses: actions/setup-node@v4, with: { node-version: ^18 } }
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^8.15.5, run_install: true } }
- run: pnpm package
- run: pnpm hsm golf game-scripts/binmat.ts
- run: pnpm hsm golf game-scripts/binmat_lib.ts
- run: eslint .
- run: tsc
- run: tsc --project src
- run: pnpm test