Skip to content

Commit

Permalink
fix: Fix the PNPM example test (#492)
Browse files Browse the repository at this point in the history
* explicitly install pnpm using the node orb

* fix: empty semantic commit

* Fix equal condition

---------

Co-authored-by: Jennifer Shehane <[email protected]>
  • Loading branch information
ramykl and jennifer-shehane authored Nov 5, 2024
1 parent 98eca61 commit 5f7d64c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/commands/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,13 @@ steps:
- restore_cache:
name: Restore Cypress cache
key: << parameters.cypress-cache-key >>
- when:
condition:
and:
- 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 >>
Expand Down

0 comments on commit 5f7d64c

Please sign in to comment.