From 0318b85216f0d311a31513bed07f768b4a6e18cf Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Wed, 17 May 2023 10:42:51 -0700 Subject: [PATCH] chore: build playwright before running merge-reports (#23095) --- .github/workflows/tests_primary.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests_primary.yml b/.github/workflows/tests_primary.yml index bec063425a..e6dc1bee66 100644 --- a/.github/workflows/tests_primary.yml +++ b/.github/workflows/tests_primary.yml @@ -80,8 +80,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - name: Install dependencies - run: npm ci + - run: npm ci + env: + DEBUG: pw:install + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 + - run: npm run build - name: Download Blob Reports from Azure Blob Storage run: | az storage blob download-batch -d . -s '$web' --pattern 'run-${{ github.run_id }}-${{ github.sha }}-test_linux/*.jsonl' --connection-string "${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}" @@ -176,8 +179,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 16 - - name: Install dependencies - run: npm ci + - run: npm ci + env: + DEBUG: pw:install + PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1 + - run: npm run build - name: Download Blob Reports from Azure Blob Storage run: | az storage blob download-batch -d . -s '$web' --pattern 'run-${{ github.run_id }}-${{ github.sha }}-test_test_runner/*.jsonl' --connection-string "${{ secrets.AZURE_CONNECTION_STRING_FOR_BLOB_REPORT }}"