From cd0488ef335f6708eea592268f5efe72d52ebc17 Mon Sep 17 00:00:00 2001 From: Anton Arnautov Date: Tue, 12 Sep 2023 21:50:54 +0200 Subject: [PATCH] Adjust GH workflow --- .github/workflows/egress-composite-e2e.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/egress-composite-e2e.yml b/.github/workflows/egress-composite-e2e.yml index 60ee84cd17..8ad7c8b71f 100644 --- a/.github/workflows/egress-composite-e2e.yml +++ b/.github/workflows/egress-composite-e2e.yml @@ -1,4 +1,4 @@ -name: Playwright Tests +name: Egress Composite E2E on: pull_request: types: @@ -27,13 +27,14 @@ jobs: steps: - uses: actions/checkout@v3 with: - fetch-depth: 0 + fetch-depth: 1 - name: Setup Node uses: actions/setup-node@v3 with: node-version: 18.x cache: 'yarn' + cache-dependency-path: 'yarn.lock' - name: Install dependencies run: yarn install --immutable @@ -43,7 +44,7 @@ jobs: NODE_ENV: production run: yarn build:react:deps - - name: 💾 Cache Playwright browsers + - name: Cache Playwright browsers uses: actions/cache@v3 id: playwright-cache with: @@ -60,9 +61,3 @@ jobs: - name: Run Playwright tests working-directory: sample-apps/react/egress-composite run: yarn buddy auth && yarn test:e2e - - - uses: actions/upload-artifact@v3 - with: - name: playwright-report - path: playwright-report/ - retention-days: 30