From 73a9e9abc649d7fa841dbd35b61b39030781d8a7 Mon Sep 17 00:00:00 2001 From: Ramy Loveridge Date: Mon, 4 Nov 2024 15:08:38 +0100 Subject: [PATCH] explicitly install pnpm using the node orb --- src/commands/install.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/commands/install.yml b/src/commands/install.yml index 921d96bf..f97fbc74 100644 --- a/src/commands/install.yml +++ b/src/commands/install.yml @@ -65,6 +65,12 @@ steps: - restore_cache: name: Restore Cypress cache key: << parameters.cypress-cache-key >> + - when: + condition: + - equal: [ 'pnpm', << parameters.package-manager >> ] + steps: + - node/install: + install-pnpm: true - node/install-packages: override-ci-command: << parameters.install-command >> app-dir: << parameters.working-directory >>