From 7b30826b1a5e340ff1b622ff63f4949a08e756b0 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Thu, 9 May 2024 00:29:47 +0200 Subject: [PATCH] try that --- .circleci/config.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 37545771ba8b8..24551bd24f34b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,13 +59,14 @@ commands: description: 'Set to true if you intend to any browser (for example with playwright).' steps: - - run: - name: Install pnpm package manager - # See https://stackoverflow.com/a/73411601 - command: corepack enable --install-directory ~/bin - when: condition: << parameters.browsers >> steps: + - run: + name: Install pnpm package manager + command: | + corepack enable + corepack prepare pnpm@latest-8 --activate - run: name: Prepare playwright hash command: pnpm list --json --filter playwright > /tmp/playwright_info.json @@ -274,7 +275,9 @@ jobs: NODE_ENV: development # Needed if playwright is in `devDependencies` steps: - checkout - - install_js + - install_js: + # TODO remove, no needed + browsers: true - run: name: Run danger on PRs command: pnpm danger ci --fail-on-errors