chore(deps): update node.js to v22 #965
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] | |
pull_request: | |
branches: [master] | |
jobs: | |
take-screenshots: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [22] | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 9 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Install Playwright browsers | |
run: pnpm playwright install --with-deps chromium | |
- name: Build the website | |
run: pnpm docusaurus build | |
- name: Take screenshots with Playwright | |
run: pnpm playwright test | |
- name: Upload screenshots to Argos | |
run: pnpm argos upload ./screenshots |