forked from homarr-labs/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (32 loc) · 901 Bytes
/
argos.yml
File metadata and controls
34 lines (32 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Argos CI Screenshots
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
take-screenshots:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24]
steps:
- name: Check out repository code
uses: actions/checkout@v6
- uses: pnpm/action-setup@v2
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Install Chrome and Build in Parallel
run: |
pnpm playwright install --with-deps chromium &
pnpm docusaurus build &
wait
- name: Take screenshots with Playwright
run: pnpm playwright test
- name: Upload screenshots to Argos
run: pnpm argos upload ./screenshots