# Unit tests for the Texas Hold'em dealer's money logic. # # The betting engine, the side-pot calculator and the table state are plain script-tag # modules with no build step, so they run directly under Node's built-in test runner — # no package.json, no install step, nothing to keep up to date. name: Hold'em tests on: pull_request: branches: [ "master" ] push: branches: [ "master" ] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v4 with: node-version: 20 - name: Run Hold'em unit tests run: node --test tests/holdem/*.test.js