docs: document fourth comprehensive test audit (Session 4) #13
Workflow file for this run
This file contains hidden or 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 Mini TypeScript Hero | |
| on: | |
| push: | |
| branches: [main, master, second-try] | |
| pull_request: | |
| branches: [main, master] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [macos-latest, ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '18.x' | |
| - name: Install dependencies | |
| run: npm install | |
| working-directory: ./mini-typescript-hero | |
| - name: Run tests (Linux with xvfb) | |
| if: runner.os == 'Linux' | |
| run: xvfb-run -a npm test | |
| working-directory: ./mini-typescript-hero | |
| - name: Run tests (macOS/Windows) | |
| if: runner.os != 'Linux' | |
| run: npm test | |
| working-directory: ./mini-typescript-hero |