From 6d32bc5192abee3125d3c35bfe76708076ef741d Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 20 Oct 2020 13:52:28 +0000 Subject: [PATCH] Build/Test Tools: Download Chromium for E2E tests only. This prevents Chromium from being downloaded in workflows where it is not required. See #49621, #50649, #50401. git-svn-id: https://develop.svn.wordpress.org/trunk@49227 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/coding-standards.yml | 2 ++ .github/workflows/javascript-tests.yml | 3 +++ .github/workflows/verify-npm-on-windows.yml | 3 +++ 3 files changed, 8 insertions(+) diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 61aa266552..dac4fb643c 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -85,6 +85,8 @@ jobs: jshint: name: JavaScript coding standards runs-on: ubuntu-latest + env: + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} steps: - name: Checkout repository uses: actions/checkout@v2 diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 40b36dfd9a..fa9e61a381 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -7,6 +7,9 @@ on: - '*.*' pull_request: +env: + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} + jobs: # Runs the QUnit tests for WordPress. # diff --git a/.github/workflows/verify-npm-on-windows.yml b/.github/workflows/verify-npm-on-windows.yml index 8b6edc25ae..1480e301c9 100644 --- a/.github/workflows/verify-npm-on-windows.yml +++ b/.github/workflows/verify-npm-on-windows.yml @@ -7,6 +7,9 @@ on: - '*.*' pull_request: +env: + PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: ${{ true }} + jobs: # Verifies that installing NPM dependencies and building WordPress works on Windows. #