-
Notifications
You must be signed in to change notification settings - Fork 5
47 lines (38 loc) · 1.01 KB
/
Copy pathdocs-e2e.yaml
File metadata and controls
47 lines (38 loc) · 1.01 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Docs e2e tests
on:
pull_request:
paths:
- 'docs/**'
- 'e2e/docs/**'
- '.github/workflows/docs-e2e.yaml'
- 'package.json'
jobs:
docs-e2e:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.4.5'
bundler-cache: true
working-directory: docs
- uses: actions/setup-node@v6
with:
node-version: 24
- name: Install Node deps
run: yarn --ignore-scripts
- name: Install Playwright Chromium
run: npx playwright install chromium --with-deps
- name: Run docs smoke tests
run: yarn test:docs
env:
CI: true
PAGES_REPO_NWO: AntonelliLab/raxmlGUI
- name: Upload Playwright report on failure
if: failure()
uses: actions/upload-artifact@v4
with:
name: docs-playwright-report
path: playwright-report/
retention-days: 7