Skip to content

Commit e66470b

Browse files
committed
ci: run playwright tests
Signed-off-by: Simon Emms <simon@simonemms.com>
1 parent 9888d4f commit e66470b

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,24 @@ jobs:
6565
- name: Checking
6666
run: npm run check
6767

68+
e2e:
69+
runs-on: ubuntu-latest
70+
steps:
71+
- uses: actions/checkout@v6
72+
73+
- uses: actions/setup-node@v6
74+
with:
75+
node-version: lts/*
76+
77+
- name: Install dependencies
78+
run: npm ci
79+
80+
- name: Install Playwright browsers
81+
run: npx playwright install --with-deps chromium
82+
83+
- name: End-to-end tests
84+
run: npm run test:e2e
85+
6886
helm:
6987
runs-on: ubuntu-latest
7088
steps:
@@ -151,6 +169,7 @@ jobs:
151169
runs-on: ubuntu-latest
152170
needs:
153171
- commitlint
172+
- e2e
154173
- helm
155174
- pre-commit
156175
- test

0 commit comments

Comments
 (0)