Skip to content

docs: checkout docs for 1.12.0 #217

docs: checkout docs for 1.12.0

docs: checkout docs for 1.12.0 #217

Workflow file for this run

name: 🛠 Docs UI regressions
on:
push:
branches: [main]
paths:
- ".github/workflows/docs-e2e.yml"
- "docs/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/docs-e2e.yml"
- "docs/**"
jobs:
take-screenshots:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
defaults:
run:
working-directory: ./docs
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
- 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
- name: Upload screenshots to Argos
run: yarn argos upload ./screenshots