From c4bf8139903ef36cea2880f65d7ee6ed58417a66 Mon Sep 17 00:00:00 2001 From: amalv <1252707+amalv@users.noreply.github.com> Date: Tue, 9 Jan 2024 04:05:21 +0100 Subject: [PATCH] fix: disable e2e tests job --- .github/workflows/test.yml | 59 +++++++++++++++++++------------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2eebfa1..ac297c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -57,33 +57,32 @@ jobs: run: npm install - name: Run unit tests run: npm test - - e2e-tests: - needs: build - runs-on: ubuntu-latest - steps: - - name: Download deploy URL - uses: actions/download-artifact@v4 - with: - name: deploy-url - - name: Set deploy URL - id: url - run: echo "::set-output name=DEPLOY_URL::$(cat deploy-url.txt)" - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4 - with: - node-version: 20 - - name: Install dependencies - run: npm ci - - name: Install Playwright Browsers - run: npx playwright install --with-deps - - name: Run Playwright tests - run: npx playwright test - env: - URL: ${{ steps.url.outputs.DEPLOY_URL }} - - uses: actions/upload-artifact@v4 - if: always() - with: - name: playwright-report - path: playwright-report/ - retention-days: 30 +# e2e-tests: +# needs: build +# runs-on: ubuntu-latest +# steps: +# - name: Download deploy URL +# uses: actions/download-artifact@v4 +# with: +# name: deploy-url +# - name: Set deploy URL +# id: url +# run: echo "::set-output name=DEPLOY_URL::$(cat deploy-url.txt)" +# - uses: actions/checkout@v4 +# - uses: actions/setup-node@v4 +# with: +# node-version: 20 +# - name: Install dependencies +# run: npm ci +# - name: Install Playwright Browsers +# run: npx playwright install --with-deps +# - name: Run Playwright tests +# run: npx playwright test +# env: +# URL: ${{ steps.url.outputs.DEPLOY_URL }} +# - uses: actions/upload-artifact@v4 +# if: always() +# with: +# name: playwright-report +# path: playwright-report/ +# retention-days: 30