From 3cef889564ad97495ee29d2d47bf4d54af5e1349 Mon Sep 17 00:00:00 2001 From: Jason Laster Date: Thu, 13 Mar 2025 15:30:49 -0400 Subject: [PATCH] Revert "skip in ci" This reverts commit f00dfa2f42fc511ee4f0391bba73684ef50b6053. --- .github/workflows/playwright.yml | 49 ++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .github/workflows/playwright.yml diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml new file mode 100644 index 00000000..c7b2be16 --- /dev/null +++ b/.github/workflows/playwright.yml @@ -0,0 +1,49 @@ +name: Playwright Tests + +on: + pull_request: +jobs: + test: + name: 'Playwright Tests' + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '18' + + - name: Set up pnpm + uses: pnpm/action-setup@v2 + with: + version: 9.4.0 + + - name: Install dependencies + run: pnpm install --frozen-lockfile + + - name: Install Playwright browsers + run: npx playwright install chromium + + - name: Run Playwright tests with supabase + run: pnpm test:e2e:supabase + + - name: Upload test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 + + - name: Run Playwright tests without supabase + run: pnpm test:e2e:legacy + + - name: Upload test results + if: always() + uses: actions/upload-artifact@v4 + with: + name: playwright-report + path: playwright-report/ + retention-days: 30 \ No newline at end of file