Skip to content

Commit b884f69

Browse files
committed
ci: add CLI unit and E2E tests to CI pipeline
1 parent 407299e commit b884f69

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,16 @@ jobs:
3131

3232
- name: Check consistency
3333
run: npm run check:consistency
34+
35+
- name: Install CLI dependencies
36+
run: npm ci --prefix cli
37+
38+
- name: Run unit tests
39+
run: npm run test:unit --prefix cli
40+
41+
- name: Install Playwright Chromium
42+
run: npx playwright install --with-deps chromium
43+
working-directory: cli
44+
45+
- name: Run E2E tests
46+
run: npm run test:e2e --prefix cli

0 commit comments

Comments
 (0)