Skip to content

Commit 4aa8b64

Browse files
committed
ci: add dedicated pipeline for website E2E tests
Signed-off-by: Ulises Gascon <[email protected]>
1 parent 59467ff commit 4aa8b64

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/playwright.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: E2E Website tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
test-docs:
10+
name: E2E Testing
11+
runs-on: ubuntu-latest
12+
defaults:
13+
run:
14+
working-directory: scorecards-site
15+
16+
steps:
17+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
18+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 #v5
19+
with:
20+
node-version: 22
21+
22+
- name: Install dependencies
23+
run: |
24+
yarn install --frozen-lockfile
25+
yarn dlx playwright install --with-deps
26+
yarn add -D @playwright/test@latest
27+
28+
- name: Run Playwright tests
29+
run: CI=true yarn dlx @playwright/test test

0 commit comments

Comments
 (0)