New docs #1891
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: Tests | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| jobs: | |
| build_and_test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 4 | |
| matrix: | |
| node-version: [22, 24] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| cache: pnpm | |
| cache-dependency-path: pnpm-lock.yaml | |
| - name: Enable Corepack | |
| run: corepack enable | |
| - name: Install Dependencies | |
| run: pnpm install --frozen-lockfile --network-concurrency 1 | |
| - name: Install Playwright Chromium | |
| run: pnpm exec playwright install chromium | |
| - name: Install Playwright Firefox | |
| run: pnpm exec playwright install firefox | |
| - name: Install Playwright system dependencies | |
| run: pnpm exec playwright install-deps chromium firefox | |
| - name: Build | |
| run: pnpm run build:prod | |
| - name: Unit Tests | |
| run: pnpm run test:node | |
| - name: Integration Tests | |
| run: pnpm run test:integration | |
| - name: Browser Tests | |
| run: pnpm run test:browser | |
| - name: Browser Tests (Axios) | |
| run: pnpm run test:browser:axios |