Skip to content

Commit 769e064

Browse files
committed
ci: add dedicated pipeline for website E2E tests
Signed-off-by: Ulises Gascon <ulisesgascongonzalez@gmail.com>
1 parent 59467ff commit 769e064

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/playwright.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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+
env:
13+
CI: true
14+
defaults:
15+
run:
16+
working-directory: scorecards-site
17+
18+
steps:
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5
20+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 #v5
21+
with:
22+
node-version: 22
23+
24+
- name: Install dependencies
25+
run: |
26+
yarn install --frozen-lockfile
27+
yarn add -D @playwright/test@latest
28+
npx playwright install --with-deps
29+
30+
- name: Run Playwright tests
31+
run: npx playwright test

0 commit comments

Comments
 (0)