Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Refactor e2e.yaml workflow to include build step and update test configuration

Kiran Kaac038c51463
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index cc84f5c94b..95984906ac 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -28,9 +28,15 @@ jobs:
- name: Install dependencies
run: pnpm install
- - name: Run tests
+ - name: Build
+ run: pnpm --filter web run build
+
+ - name: Configure tests
working-directory: apps/web
env:
- # API_BASE_URL: ${{ github.event.deployment_status.environment_url }}
- DATABASE_URL: ${{ secrets.DATABASE_URL }}
- run: pnpm test
+ API_BASE_URL: ${{ github.event.deployment_status.environment_url }}
+ TOKEN: ${{ secrets.TOKEN }}
+ USER_ID: ${{ secrets.USER_ID }}
+
+ - name: Run tests
+ run: pnpm --filter web run test