Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

chore: build playwright before running merge-reports (#23095)

Yury Semikhatsky0318b85216f0
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 }}"