From c7e97b8c78cd1197f3509b7fd1206b12903f953c Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 30 Sep 2023 22:33:10 +0200 Subject: [PATCH] ci: skip puppeteer chrome download Signed-off-by: Daniel Kesselberg --- workflow-templates/command-compile.yml | 1 + workflow-templates/cypress.yml | 3 +++ workflow-templates/lint-eslint.yml | 1 + workflow-templates/node.yml | 1 + 4 files changed, 6 insertions(+) diff --git a/workflow-templates/command-compile.yml b/workflow-templates/command-compile.yml index f15e0ae6..b90dc353 100644 --- a/workflow-templates/command-compile.yml +++ b/workflow-templates/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/workflow-templates/cypress.yml b/workflow-templates/cypress.yml index cc8b895e..3711e61f 100644 --- a/workflow-templates/cypress.yml +++ b/workflow-templates/cypress.yml @@ -25,6 +25,9 @@ jobs: nodeVersion: ${{ steps.versions.outputs.nodeVersion }} npmVersion: ${{ steps.versions.outputs.npmVersion }} + env: + PUPPETEER_SKIP_DOWNLOAD: true + steps: - name: Checkout app uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0 diff --git a/workflow-templates/lint-eslint.yml b/workflow-templates/lint-eslint.yml index 35bd4404..7958cbff 100644 --- a/workflow-templates/lint-eslint.yml +++ b/workflow-templates/lint-eslint.yml @@ -58,6 +58,7 @@ jobs: - name: Install dependencies env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: npm ci - name: Lint diff --git a/workflow-templates/node.yml b/workflow-templates/node.yml index 9d3f120d..330fa0eb 100644 --- a/workflow-templates/node.yml +++ b/workflow-templates/node.yml @@ -57,6 +57,7 @@ jobs: - name: Install dependencies & build env: CYPRESS_INSTALL_BINARY: 0 + PUPPETEER_SKIP_DOWNLOAD: true run: | npm ci npm run build --if-present