Skip to content

Commit 0f6ce1d

Browse files
Workflow testing
1 parent 2941962 commit 0f6ce1d

3 files changed

Lines changed: 23 additions & 8 deletions

File tree

.github/workflows/run-e2e-tests.yml

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@ jobs:
3535
with:
3636
node-version: lts/*
3737

38+
- name: Load ENV files from examples
39+
run: |
40+
mv builder-frontend/.env.example builder-frontend/.env
41+
mv builder-api/.env.example builder-api/.env
42+
3843
# 1) Devbox Setup #
3944
- name: Setup devbox
4045
uses: ./.github/actions/devbox-setup
@@ -69,11 +74,6 @@ jobs:
6974
working-directory: builder-frontend
7075
run: devbox run install-builder-frontend-ci
7176

72-
- name: Load ENV files from examples
73-
run: |
74-
mv builder-frontend/.env.example builder-frontend/.env
75-
mv builder-api/.env.example builder-api/.env
76-
7777
- name: Load E2E emulator data
7878
run: |
7979
rm -rf emulator-data
@@ -92,6 +92,12 @@ jobs:
9292
run: npx playwright install --with-deps
9393
working-directory: e2e
9494

95+
- name: Run a bash command and print output
96+
run: |
97+
echo "Listing devbox processes:"
98+
devbox services ls
99+
shell: bash
100+
95101
- name: Wait for App to be available
96102
uses: nev7n/wait_for_response@v1
97103
with:
@@ -101,11 +107,23 @@ jobs:
101107
interval: 1000
102108
continue-on-error: true
103109

110+
- name: Run a bash command and print output
111+
run: |
112+
echo "Listing devbox processes:"
113+
devbox services ls
114+
shell: bash
115+
104116
- name: Run Playwright tests
105117
run: npx playwright test
106118
working-directory: e2e
107119
continue-on-error: true
108120

121+
- name: Run a bash command and print output
122+
run: |
123+
echo "Listing devbox processes:"
124+
devbox services ls
125+
shell: bash
126+
109127
- uses: actions/upload-artifact@v4
110128
if: ${{ !cancelled() }}
111129
with:

builder-frontend/.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ VITE_AUTH_DOMAIN=localhost:9099
55
VITE_MEASUREMENT_ID=G-XXXXXXXXXX
66
VITE_MESSAGING_SENDER_ID=123456789
77
VITE_PROJECT_ID=demo-bdt-dev
8-
VITE_SCREENER_BASE_URL=http://localhost:5174/
98
VITE_STORAGE_BUCKET=demo-bdt-dev.appspot.com
109
DEV_SERVER_PORT=5173

process-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ processes:
1616
description: Sync library check metadata from library-api to Firebase Storage
1717
command: ./bin/library/sync-metadata
1818
depends_on:
19-
library-api:
20-
condition: process_log_ready
2119
firebase-emulators:
2220
condition: process_log_ready
2321
availability:

0 commit comments

Comments
 (0)