Skip to content

refactor: Docusaurus to version 3.7 #13

refactor: Docusaurus to version 3.7

refactor: Docusaurus to version 3.7 #13

Workflow file for this run

name: Argos CI Screenshots
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
take-screenshots:
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
- 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
env:
ARGOS_TOKEN: ${{ secrets.ARGOS_TOKEN }}
run: yarn argos upload ./screenshots