Current Behavior
Steps to reproduce the behavior
- Make a new pull request to
qa/2.x
Note that the Run tests step in the Integration tests workflow fails. This message will be in the failed Run tests step:
The cypress npm package is installed, but the Cypress binary is missing.
Also note that this message will be in the Install NPM dependencies step:
npm warn install-scripts 2 packages had install scripts blocked because they are not covered by allowScripts:
npm warn install-scripts @parcel/watcher@2.5.1 (install: node scripts/build-from-source.js)
npm warn install-scripts cypress@15.15.0 (postinstall: node dist/index.js --exec install)
Expected Behavior
The integration tests should not fail.
Possible Solution
NPM is blocking post-install scripts, which looks to be a requirement to install the Cypress binary. Explicitly call npx cypress install to install it.
I've verified that this solution works in this pull request: #2403 (I've since reverted the commit adding that fix)
Context and Notes
The default behaviour of npm has changed to disallow post-install by default, see this blog post:
https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
Version used
2.10.1
Operating System and version
Docker (php:8.3-fpm-alpine)
Default installation culture
en
PHP version
PHP 8.3
Contact details
No response
Current Behavior
Steps to reproduce the behavior
qa/2.xNote that the Run tests step in the Integration tests workflow fails. This message will be in the failed Run tests step:
Also note that this message will be in the Install NPM dependencies step:
Expected Behavior
The integration tests should not fail.
Possible Solution
NPM is blocking post-install scripts, which looks to be a requirement to install the Cypress binary. Explicitly call
npx cypress installto install it.I've verified that this solution works in this pull request: #2403 (I've since reverted the commit adding that fix)
Context and Notes
The default behaviour of
npmhas changed to disallow post-install by default, see this blog post:https://github.blog/changelog/2026-06-09-upcoming-breaking-changes-for-npm-v12/
Version used
2.10.1
Operating System and version
Docker (
php:8.3-fpm-alpine)Default installation culture
en
PHP version
PHP 8.3
Contact details
No response