Skip to content

Merge pull request #1576 from HEIGE-PCloud/update-dependencies/katex-… #231

Merge pull request #1576 from HEIGE-PCloud/update-dependencies/katex-…

Merge pull request #1576 from HEIGE-PCloud/update-dependencies/katex-… #231

Workflow file for this run

name: Visual Regression Testing with Playwright
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: lts/*
- name: Set up Homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Hugo setup
run: brew install hugo
- name: Install dependencies
run: npm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v7
if: ${{ !cancelled() }}
with:
name: playwright-report
path: playwright-report/
retention-days: 30