Skip to content

Commit 6f26df7

Browse files
committed
Overriding compose yaml file to use test env on CI/CD pipeline
1 parent 9888012 commit 6f26df7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/reusable-e2e.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/setup-node@v4
1616
with:
1717
node-version: 23
18-
cache: "npm"
18+
cache: 'npm'
1919

2020
- name: Install Frontend Dependencies
2121
run: npm install
@@ -31,7 +31,7 @@ jobs:
3131

3232
- name: Start Backend with Docker Compose
3333
working-directory: backend
34-
run: docker compose up -d
34+
run: docker compose -f compose.yaml -f compose.test.yaml up -d --build
3535

3636
- name: Wait for Backend to be Ready
3737
run: npx wait-on tcp:127.0.0.1:3000
@@ -53,4 +53,3 @@ jobs:
5353
run: |
5454
cd backend
5555
docker compose down
56-

0 commit comments

Comments
 (0)