name: check-e2e on: [push, pull_request] jobs: check-e2e: strategy: matrix: browser: [chromium, firefox] timeout-minutes: 30 runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '18.12.1' - name: Install dependencies run: npm ci - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Start http-api test server run: ./scripts/run-http-api-with-fixtures --non-interactive --detach - name: Run Playwright tests run: npm run test:e2e -- --project ${{ matrix.browser }} - uses: actions/upload-artifact@v3 if: always() with: name: test-artifacts-${{ runner.os }} retention-days: 30 path: | tests/artifacts/**/*