From cf13931a9eb1fff719a35cbee2cf5b31073d1e08 Mon Sep 17 00:00:00 2001 From: Federico Ercoles Date: Wed, 24 Apr 2024 15:14:58 +0200 Subject: [PATCH] Fix CI issue with corepack --- ci/tasks/build.yml | 1 + ci/tasks/chromatic.yml | 1 + ci/tasks/circular-deps.yml | 3 +++ ci/tasks/eslint.yml | 3 +++ ci/tasks/install.yml | 3 +++ ci/tasks/prettier.yml | 3 +++ ci/tasks/release.yml | 1 + ci/tasks/test.yml | 1 + ci/tasks/typecheck.yml | 3 +++ 9 files changed, 19 insertions(+) diff --git a/ci/tasks/build.yml b/ci/tasks/build.yml index e0652b62c..44784c994 100644 --- a/ci/tasks/build.yml +++ b/ci/tasks/build.yml @@ -14,6 +14,7 @@ outputs: params: NODE_OPTIONS: --max-old-space-size=4096 + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" run: dir: bento diff --git a/ci/tasks/chromatic.yml b/ci/tasks/chromatic.yml index dcc1ad593..3b58d27f6 100644 --- a/ci/tasks/chromatic.yml +++ b/ci/tasks/chromatic.yml @@ -12,6 +12,7 @@ inputs: params: CHROMATIC_PROJECT_TOKEN: ((chromatic-project-token)) CHROMATIC_OPTIONS: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" run: dir: bento diff --git a/ci/tasks/circular-deps.yml b/ci/tasks/circular-deps.yml index 6f44451c6..cbe392c21 100644 --- a/ci/tasks/circular-deps.yml +++ b/ci/tasks/circular-deps.yml @@ -9,6 +9,9 @@ image_resource: inputs: - name: bento +params: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" + run: dir: bento path: ash diff --git a/ci/tasks/eslint.yml b/ci/tasks/eslint.yml index 1c12f21cc..df9404eaf 100644 --- a/ci/tasks/eslint.yml +++ b/ci/tasks/eslint.yml @@ -9,6 +9,9 @@ image_resource: inputs: - name: bento +params: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" + run: dir: bento path: ash diff --git a/ci/tasks/install.yml b/ci/tasks/install.yml index 076cdaa87..c64602829 100644 --- a/ci/tasks/install.yml +++ b/ci/tasks/install.yml @@ -15,6 +15,9 @@ outputs: caches: - path: bento/.pnpm-store +params: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" + run: dir: bento path: ash diff --git a/ci/tasks/prettier.yml b/ci/tasks/prettier.yml index 6a3b38095..1cfef079a 100644 --- a/ci/tasks/prettier.yml +++ b/ci/tasks/prettier.yml @@ -9,6 +9,9 @@ image_resource: inputs: - name: bento +params: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" + run: dir: bento path: ash diff --git a/ci/tasks/release.yml b/ci/tasks/release.yml index 87c8d9d5d..331c89c72 100644 --- a/ci/tasks/release.yml +++ b/ci/tasks/release.yml @@ -17,6 +17,7 @@ params: NPM_TOKEN: ((npm_token)) SSH_PRIVATE_KEY: ((private-key)) GITHUB_TOKEN: ((github-token)) + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" run: path: ci/tasks/release.sh diff --git a/ci/tasks/test.yml b/ci/tasks/test.yml index c21e084e2..04ce2db2d 100644 --- a/ci/tasks/test.yml +++ b/ci/tasks/test.yml @@ -11,6 +11,7 @@ inputs: params: CI: true + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" run: dir: bento diff --git a/ci/tasks/typecheck.yml b/ci/tasks/typecheck.yml index f9baaf81d..aeb06d5e9 100644 --- a/ci/tasks/typecheck.yml +++ b/ci/tasks/typecheck.yml @@ -9,6 +9,9 @@ image_resource: inputs: - name: bento +params: + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0" + run: dir: bento path: ash