Skip to content

Workflow file for this run

name: CI Screenshots
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
take-screenshots:

Check failure on line 8 in .github/workflows/screenshots.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/screenshots.yml

Invalid workflow file

You have an error in your yaml syntax on line 8
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: current
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Install Playwright browsers
run: yarn playwright install --with-deps chromium
- name: Build the website
run: yarn docusaurus build
- name: Take screenshots with Playwright
run: yarn playwright test
- uses: actions/upload-artifact@v4
if: always()
with:
name: screenshots
path: ./screenshots
retention-days: 14