Skip to content

ci(deps): bump the actions group across 1 directory with 2 updates #40

ci(deps): bump the actions group across 1 directory with 2 updates

ci(deps): bump the actions group across 1 directory with 2 updates #40

Workflow file for this run

name: E2E
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
playwright:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: 'npm'
- name: Install
run: npm ci --no-audit --no-fund
- name: Cache Playwright browsers
id: cache-pw
uses: actions/cache@v6
with:
path: ~/.cache/ms-playwright
key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
restore-keys: ${{ runner.os }}-playwright-
- name: Install Playwright browsers
if: steps.cache-pw.outputs.cache-hit != 'true'
run: npx playwright install --with-deps chromium
- name: Install Playwright deps
if: steps.cache-pw.outputs.cache-hit == 'true'
run: npx playwright install-deps chromium
- name: Build
run: npm run build
env:
NEXT_PUBLIC_SITE_URL: https://example.com
- name: Run E2E
run: npm run test:e2e
env:
CI: 'true'
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v7
with:
name: playwright-report
path: playwright-report
retention-days: 14