-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
package manager:PNPM not supported in circleci orb #442
Comments
Any update about this. This would be useful, or at least add more documentation around how to use this with pnpm |
PR to support this in the Node orb, and then we can add it here. CircleCI-Public/node-orb#199 |
See also https://circleci.com/developer/orbs/orb/cypress-io/cypress#usage-pnpm |
The error message still remains as the underlying node orb does not support
|
Is this simply a matter of adding pnpm to the enum or is there more that needs to be done? If so I can submit a PR today if we can get a release out quickly. This has become a big blocker for my team and I would like to have it resolved quickly if possible. For others that may come along here in the future, can we bypass this limitation by using |
I see now that this is actually an issue with the official |
Running into the same issue, anyone have any updates on this? |
The documented Usage Examples > pnpm does not work: version: '2.1'
orbs:
cypress: cypress-io/cypress@3
workflows:
use-my-orb:
jobs:
- cypress/run:
install-command: pnpm install --frozen-lockfile
package-manager: pnpm
start-command: pnpm start As previously posted in #442 (comment), it results in a CircleCI pipeline error message (reposted as text for better searchability):
|
Also, as previously mentioned in this thread, @ramykl submitted a PR CircleCI-Public/node-orb#199 to add |
This is an example of using pnpm with the Cypress CircleCI Orb and Cypress Docker images: version: 2.1
orbs:
cypress: cypress-io/cypress@3
executors:
cypress-browsers:
docker:
- image: cypress/browsers:node-20.15.1-chrome-126.0.6478.126-1-ff-128.0-edge-126.0.2592.102-1
jobs:
pnpm-chrome-test:
executor: cypress-browsers
steps:
- checkout
- run: npm install -g pnpm@9
- run: pnpm install --frozen-lockfile
- cypress/run-tests:
cypress-command: 'npx cypress run --browser chrome'
start-command: pnpm start
workflows:
test:
jobs:
- pnpm-chrome-test The above example is not optimized for caching, however it does work. The non-working example on https://circleci.com/developer/orbs/orb/cypress-io/cypress#usage-pnpm should be removed. |
|
Revisited and PR made |
Hey all,
Just wanted to ask, when will circleci orb support pnpm as well. Currently working on a project which is using pnpm, would like to run cypress in ci and it would be definitely easier if pnpm would be supported as well.
Thanks a lot!
Petra
The text was updated successfully, but these errors were encountered: