Add versioned ISC docs #162
Workflow file for this run
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: [main] | |
pull_request: | |
branches: [main] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
take-screenshots: | |
if: ${{ github.ref_name == 'main' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'Argos')) }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Prepare Yarn | |
uses: ./.github/actions/prepare/ | |
- name: Prepare build | |
run: yarn prepare | |
shell: bash | |
- name: Checkout remote | |
run: yarn checkout:remote | |
- name: Generate API | |
run: yarn generate:api | |
shell: bash | |
- name: Install Playwright browsers | |
run: yarn playwright install --with-deps chromium | |
- name: Build the website | |
run: yarn build | |
- name: Take screenshots with Playwright | |
run: yarn playwright test | |
- name: Upload screenshots to Argos | |
run: yarn argos upload ./screenshots |