From 3f5bd78aaa824ec9b8b50412135767f72c83f78f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mats=20Nyfl=C3=B8t?= Date: Sat, 13 Apr 2024 13:47:06 +0200 Subject: [PATCH] fix(ci/cd): :construction_worker: remove test from node.js.yml --- .github/workflows/node.js.yml | 21 ------------------ frontend/.github/workflows/playwright.yml | 27 ----------------------- 2 files changed, 48 deletions(-) delete mode 100644 frontend/.github/workflows/playwright.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 103204d..44c5b04 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -68,24 +68,3 @@ jobs: cache: "npm" - run: npm ci # Clean install packages - run: npx prettier . --check # Run prettier - - test: - timeout-minutes: 60 - runs-on: self-hosted - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 18 - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v4 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 diff --git a/frontend/.github/workflows/playwright.yml b/frontend/.github/workflows/playwright.yml deleted file mode 100644 index 8d6cbdf..0000000 --- a/frontend/.github/workflows/playwright.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Playwright Tests -on: - push: - branches: [main] - pull_request: - branches: [main] -jobs: - test: - timeout-minutes: 60 - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - - uses: actions/upload-artifact@v3 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30