From 67a761b7b2713a41a65861b2c2b3c80933f7c057 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 30 Sep 2023 22:22:07 +0200 Subject: [PATCH] ci: skip puppeteer chrome download As per https://github.com/puppeteer/puppeteer#installation Signed-off-by: Daniel Kesselberg --- .github/workflows/command-compile.yml | 1 + .github/workflows/cypress.yml | 3 +++ .github/workflows/lint-eslint.yml | 1 + .github/workflows/node-tests.yml | 2 ++ .github/workflows/node.yml | 1 + .github/workflows/npm-audit-fix.yml | 3 ++- 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/command-compile.yml b/.github/workflows/command-compile.yml index a7570f6d7b9af..8c012a98e7aa0 100644 --- a/.github/workflows/command-compile.yml +++ b/.github/workflows/command-compile.yml @@ -90,6 +90,7 @@ jobs: - name: Install dependencies & build env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: | npm ci npm run build --if-present diff --git a/.github/workflows/cypress.yml b/.github/workflows/cypress.yml index 62454212f7b1c..45cf125ae52ad 100644 --- a/.github/workflows/cypress.yml +++ b/.github/workflows/cypress.yml @@ -19,6 +19,9 @@ jobs: nodeVersion: ${{ steps.versions.outputs.nodeVersion }} npmVersion: ${{ steps.versions.outputs.npmVersion }} + env: + PUPPETEER_SKIP_DOWNLOAD: true + steps: - name: Checkout server uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 diff --git a/.github/workflows/lint-eslint.yml b/.github/workflows/lint-eslint.yml index 91d33df7dd37f..d29485046ca10 100644 --- a/.github/workflows/lint-eslint.yml +++ b/.github/workflows/lint-eslint.yml @@ -74,6 +74,7 @@ jobs: - name: Install dependencies env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: npm ci - name: Lint diff --git a/.github/workflows/node-tests.yml b/.github/workflows/node-tests.yml index b0b134da4234c..984bed9a47269 100644 --- a/.github/workflows/node-tests.yml +++ b/.github/workflows/node-tests.yml @@ -65,6 +65,7 @@ jobs: env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true steps: - name: Checkout @@ -130,6 +131,7 @@ jobs: env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true steps: - name: Checkout diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml index 190520cf2550b..e9032dacad2c5 100644 --- a/.github/workflows/node.yml +++ b/.github/workflows/node.yml @@ -68,6 +68,7 @@ jobs: - name: Install dependencies & build env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: | npm ci npm run build --if-present diff --git a/.github/workflows/npm-audit-fix.yml b/.github/workflows/npm-audit-fix.yml index a6228bc20f249..051bf4d1f4017 100644 --- a/.github/workflows/npm-audit-fix.yml +++ b/.github/workflows/npm-audit-fix.yml @@ -19,7 +19,7 @@ jobs: fail-fast: false matrix: branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"] - + name: npm-audit-fix-${{ matrix.branches }} steps: @@ -51,6 +51,7 @@ jobs: if: always() env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: | npm ci npm run build --if-present