From 0d886d3d62d25efcab9ba65ad2e03381de9631b4 Mon Sep 17 00:00:00 2001 From: Jesse Jurman Date: Sun, 25 Aug 2024 11:30:20 -0400 Subject: [PATCH] use playwright template --- .github/workflows/playwright.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 8987e89..d851393 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -4,22 +4,22 @@ on: push jobs: test: + timeout-minutes: 15 runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Set up Node.js - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '19' - + node-version: lts/* - name: Install dependencies run: npm ci - - name: Install Playwright Browsers - run: npx playwright install - - - name: Run tests + run: npx playwright install --with-deps + - name: Run Playwright tests run: npm run test:ci + - uses: actions/upload-artifact@v4 + if: always() + with: + name: playwright-report + path: playwright-report/ + retention-days: 30