Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

ci(e2e): install only the e2e package in the staging e2e job (#16879)

Othman Abu Ajamiehda7cd583a4a8
diff --git a/.github/workflows/continuous-delivery-stg.yml b/.github/workflows/continuous-delivery-stg.yml
index fef83c3a989..65e5baf199e 100644
--- a/.github/workflows/continuous-delivery-stg.yml
+++ b/.github/workflows/continuous-delivery-stg.yml
@@ -169,7 +169,7 @@ jobs:
E2E_INSTANCE_URL: https://stg.activepieces.com
E2E_EMAIL: ${{ secrets.STAGING_E2E_EMAIL }}
E2E_PASSWORD: ${{ secrets.STAGING_E2E_PASSWORD }}
- PLAYWRIGHT_JSON_OUTPUT_FILE: packages/tests-e2e/test-results/results.json
+ PLAYWRIGHT_JSON_OUTPUT_FILE: ${{ github.workspace }}/packages/tests-e2e/test-results/results.json
steps:
- name: Check test account secrets
run: |
@@ -184,8 +184,8 @@ jobs:
uses: actions/cache@v5
with:
path: ~/.bun/install/cache
- key: bun-${{ hashFiles('bun.lock', 'package.json') }}
- restore-keys: bun-
+ key: bun-e2e-${{ hashFiles('bun.lock') }}
+ restore-keys: bun-e2e-
- uses: actions/setup-node@v6
with:
@@ -196,13 +196,15 @@ jobs:
bun-version: latest
- name: Install dependencies
- run: bun install
+ run: bun install --filter tests-e2e --frozen-lockfile --ignore-scripts
- name: Install Playwright browsers
+ working-directory: packages/tests-e2e
run: npx playwright install --with-deps chromium
- name: Run E2E tests against staging
- run: npx playwright test --config=packages/tests-e2e/playwright.config.ts --reporter=github,json
+ working-directory: packages/tests-e2e
+ run: npx playwright test --config=playwright.config.ts --reporter=github,json
- name: Summarize results
if: always()