From 61b28fef05cd538cb9f45c628a4baf13e0424e28 Mon Sep 17 00:00:00 2001 From: Awet Issac Date: Sun, 20 Oct 2024 17:54:56 +0200 Subject: [PATCH] Update --- .github/workflows/playwright.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index 57a686322..fe6fc0a12 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -13,22 +13,26 @@ jobs: - uses: actions/setup-node@v4 with: node-version: lts/* + - name: Install Docker + run: | + sudo apt-get update + sudo apt-get install -y docker.io docker-compose + docker-compose --version + - name: Start Docker containers + working-directory: ./feedbacksystem + run: docker-compose up -d --build - name: Install dependencies run: npm ci + - name: Start Application + working-directory: ./modules/fbs-core/web + run: npm run start & + - name: Wait for services to be ready + run: sleep 30 - name: Clean previous Allure results working-directory: ./modules/fbs-core/web run: | rm -rf allure-results rm -rf allure-report - - name: Install Docker - run: | - sudo apt-get update - sudo apt-get install -y docker.io - sudo apt-get install -y docker-compose - - name: Start Docker containers - run: docker-compose -f docker-compose.yml up -d - - name: Wait for services to be ready - run: sleep 30 - name: Install Playwright Browsers run: npx playwright install --with-deps - name: Install Allure dependencies