Skip to content

Commit

Permalink
Fix E2E
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Jun 18, 2024
1 parent fe5fdaa commit 00c56b4
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/e2e-api-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,22 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Create .env.local file for stack-backend
run: cp apps/backend/.env.development apps/backend/.env.production.local

- name: Create .env.local file for stack-dashboard
run: cp apps/dashboard/.env.development apps/dashboard/.env.production.local

- name: Build stack-backend
run: pnpm build:backend

- name: Build stack-dashboard
run: pnpm build:dashboard

- name: Start Docker Compose
run: docker-compose -f dependencies.compose.yaml up -d
- name: Initialize database
run: pnpm run prisma -- migrate reset --force

- name: Build stack-dashboard
run: pnpm build:dashboard

- name: Start stack-dashboard in background
run: pnpm run start:dashboard &
Expand Down

0 comments on commit 00c56b4

Please sign in to comment.