fix broken test #60
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: | |
test: | |
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 || >=20 } } | |
- { name: Setup pnpm, uses: pnpm/action-setup@v3, with: { version: ^9.0.4, run_install: true } } | |
- run: pnpm package | |
- run: pnpm hsm golf game-scripts/binmat.ts | |
- run: pnpm hsm golf game-scripts/binmat_lib.ts | |
- run: pnpm tsc | |
- run: pnpm tsc --project src | |
- run: pnpm test |