Skip to content

Workflow file for this run

name: CI screenshots
on:
pull_request:
jobs:
screenshots:

Check failure on line 6 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 6
runs-on: gha-runner-x64
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: current
- name: [email protected]
run: |
corepack enable && corepack prepare [email protected]
- 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