Skip to content
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

feat: add pnpm support #452

Merged
merged 3 commits into from
Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/commands/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ parameters:
default: ""
package-manager:
type: enum
enum: ["npm", "yarn", "yarn-berry"]
enum: ["npm", "yarn", "yarn-berry", "pnpm"]
default: "npm"
description: Select the default node package manager to use. NPM v5+ Required.

Expand Down
14 changes: 14 additions & 0 deletions src/examples/pnpm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
description: >
Runs Cypress tests using pnpm.
Installs dependencies and caches NPM modules and the Cypress binary.
usage:
version: 2.1
orbs:
cypress: cypress-io/cypress@3
workflows:
use-my-orb:
jobs:
- cypress/run:
package-manager: "pnpm"
start-command: "pnpm start"
install-command: "pnpm install --frozen-lockfile"
2 changes: 1 addition & 1 deletion src/jobs/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ parameters:
default: ""
package-manager:
type: enum
enum: ["npm", "yarn", "yarn-berry"]
enum: ["npm", "yarn", "yarn-berry", "pnpm"]
default: "npm"
description: Select the default node package manager to use. NPM v5+ Required.
start-command:
Expand Down