Skip to content

Commit 8414659

Browse files
authored
Merge pull request #2375 from rocketstack-matt/fix/2373-calm-studio-e2e-playwright
ci(calm-suite): fix Playwright install and enable E2E on PRs (#2373)
2 parents 1285833 + 8367574 commit 8414659

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/build-calm-studio.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ jobs:
6262
e2e-tests:
6363
name: E2E Tests
6464
runs-on: ubuntu-latest
65-
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
6665
needs: build-lint-test
6766
steps:
6867
- name: Checkout
@@ -84,10 +83,10 @@ jobs:
8483
run: pnpm install --frozen-lockfile
8584

8685
- name: Install Playwright browsers
87-
run: npx playwright install --with-deps chromium
86+
run: pnpm --filter @calmstudio/studio exec playwright install --with-deps chromium
8887

8988
- name: Build
90-
run: pnpm -r run build
89+
run: pnpm --filter '!calmstudio-docs' -r run build
9190

9291
- name: Run E2E tests
9392
run: pnpm --filter @calmstudio/studio run test:e2e

0 commit comments

Comments
 (0)