Bump the stable-updates group across 1 directory with 15 updates #94
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Argos CI Screenshots | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- '.github/workflows/argos.yml' | |
- 'website/**' | |
pull_request: | |
branches: [ master ] | |
types: [ opened, synchronize, reopened ] | |
paths: | |
- '.github/workflows/argos.yml' | |
- 'website/**' | |
jobs: | |
take-screenshots: | |
defaults: | |
run: | |
working-directory: website | |
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 | |
- name: Upload screenshots to Argos | |
run: yarn argos upload ./screenshots |