name: test on: pull_request jobs: test: strategy: matrix: os: - ubuntu-latest - macos-latest - windows-latest runs-on: ${{ matrix.os }} timeout-minutes: 60 steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies run: npm ci - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Run tests shell: bash run: BASE_URL="https://$(echo "${HEAD_REF}" | sed s/[^_0-9a-z]/-/gi).jwk.pages.dev/" npm test env: HEAD_REF: ${{ github.head_ref }} - uses: actions/upload-artifact@v4 if: always() with: name: "playwright-report-${{ matrix.os }}" path: playwright-report