From f72e548ed51dbbb6ed8a1fa1d94a5254ac4f6d65 Mon Sep 17 00:00:00 2001 From: bogdan-rosianu Date: Mon, 4 Mar 2024 16:17:21 +0200 Subject: [PATCH] change start script --- .github/workflows/k6-load-tests.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/k6-load-tests.yml b/.github/workflows/k6-load-tests.yml index 01e1639..0798709 100644 --- a/.github/workflows/k6-load-tests.yml +++ b/.github/workflows/k6-load-tests.yml @@ -22,9 +22,11 @@ jobs: - name: Build run: npm run build - - name: Start Node.js API + - name: Start containers + run: docker-compose -f "docker-compose.yml" up -d --build - run: node ./dist/apps/api/src/main.js & + - name: Start Node.js API + run: npm run start:devnet # TODO: export environment config variables when base config is implemented into the template # env: # SELF_URL: 'http://localhost:3000/assets-cdn' @@ -79,7 +81,7 @@ jobs: run: npm run build - name: Start Node.js API - run: node ./dist/apps/api/src/main.js & + run: npm run start:devnet # TODO: export environment config variables when base config is implemented into the template # env: # SELF_URL: 'http://localhost:3000/assets-cdn'