Skip to content

Commit aac038c

Browse files
committed
Refactor e2e.yaml workflow to include build step and update test configuration
1 parent 19046d7 commit aac038c

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

.github/workflows/e2e.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ jobs:
2828
- name: Install dependencies
2929
run: pnpm install
3030

31-
- name: Run tests
31+
- name: Build
32+
run: pnpm --filter web run build
33+
34+
- name: Configure tests
3235
working-directory: apps/web
3336
env:
34-
# API_BASE_URL: ${{ github.event.deployment_status.environment_url }}
35-
DATABASE_URL: ${{ secrets.DATABASE_URL }}
36-
run: pnpm test
37+
API_BASE_URL: ${{ github.event.deployment_status.environment_url }}
38+
TOKEN: ${{ secrets.TOKEN }}
39+
USER_ID: ${{ secrets.USER_ID }}
40+
41+
- name: Run tests
42+
run: pnpm --filter web run test

0 commit comments

Comments
 (0)