Skip to content

Commit

Permalink
test: protect yarn pnp example against cypress script redefinition (#967
Browse files Browse the repository at this point in the history
)
  • Loading branch information
MikeMcC399 authored Jul 27, 2023
1 parent bcd73b7 commit 79310d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example-yarn-modern-pnp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ jobs:
working-directory: examples/yarn-modern-pnp
# https://yarnpkg.com/cli/install
install-command: yarn install
command: yarn cypress run
command: yarn run --binaries-only cypress run
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1106,7 +1106,7 @@ jobs:
with:
working-directory: examples/yarn-modern-pnp
install-command: yarn install
command: yarn cypress run
command: yarn run --binaries-only cypress run
```

This example covers the [`.yarnrc.yml`](https://yarnpkg.com/configuration/yarnrc#nodeLinker) configuration when `nodeLinker` is undefined or set to `nodeLinker: pnp` corresponding to Yarn Plug'n'Play. Yarn uses this by default for projects newly created with Yarn Modern.
Expand Down

0 comments on commit 79310d5

Please sign in to comment.