Skip to content

Commit 42b43a1

Browse files
committed
chore: add end-to-end test script and update CI to install Playwright browsers for both CMS and web projects
1 parent a0a7591 commit 42b43a1

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,9 @@ jobs:
106106
run: pnpm install --frozen-lockfile
107107

108108
- name: Install Playwright Browsers
109-
run: pnpm exec playwright install --with-deps
109+
run: |
110+
pnpm --filter cms exec playwright install --with-deps
111+
pnpm --filter web exec playwright install --with-deps
110112
111113
- name: Build applications
112114
run: pnpm build

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"format:check": "prettier --check .",
2727
"test": "pnpm run --recursive test",
2828
"test:unit": "pnpm run --recursive test:unit",
29+
"test:e2e": "pnpm run --recursive test:e2e",
2930
"generate:types": "pnpm --filter cms generate:types && node scripts/collection-registry.js",
3031
"generate:web-types": "node scripts/collection-registry.js",
3132
"prepare": "lefthook install",

0 commit comments

Comments
 (0)