Current situation
When a new version of Cypress is released, the examples are not automatically updated to use this version.
For examples based on npm technology, scripts/npm-install-examples.sh updates Cypress to the latest version. This can be invoked manually through npm run install-deps. The settings in .npmrc determine that an exact version number is used.
In previous PRs, for instance PR #747, examples based on the Yarn 1 (Classic) package manager and the pnpm package manager were updated manually and individually:
-
examples/start-and-yarn-workspaces was updated using:
yarn upgrade-interactive --latest
-
examples/install-command was updated using:
yarn add cypress -D
-
examples/basic-pnpm was updated using:
pnpm update --latest
-
The run command in .github/workflows/example-install-only.yml run: npm i cypress@12.x.x was manually edited.
examples/v9 is frozen to use the last Cypress 9.x version (9.7.0) and is not expected to change.
Suggested improvement
Provide better automation for easier updates to Cypress latest version, consistently applied.
See also #747 (review).
Current situation
When a new version of Cypress is released, the examples are not automatically updated to use this version.
For examples based on npm technology, scripts/npm-install-examples.sh updates Cypress to the latest version. This can be invoked manually through
npm run install-deps. The settings in .npmrc determine that an exact version number is used.In previous PRs, for instance PR #747, examples based on the Yarn 1 (Classic) package manager and the pnpm package manager were updated manually and individually:
examples/start-and-yarn-workspaces was updated using:
yarn upgrade-interactive --latestexamples/install-command was updated using:
yarn add cypress -Dexamples/basic-pnpm was updated using:
pnpm update --latestThe run command in .github/workflows/example-install-only.yml
run: npm i cypress@12.x.xwas manually edited.examples/v9 is frozen to use the last Cypress 9.x version (9.7.0) and is not expected to change.
Suggested improvement
Provide better automation for easier updates to Cypress latest version, consistently applied.
See also #747 (review).