Repository affected
asyncapi/asyncapi-react
Workflow
https://github.com/asyncapi/asyncapi-react/blob/master/.github/workflows/if-nodejs-release.yml
Failing job
Description
The root cause is that the Cypress npm package is installed via npm ci, but the Cypress binary (a platform-specific executable that is downloaded separately from the npm package) is not present at test runtime on Windows. Cypress requires its binary to be either:
- downloaded during
npm ci (via a postinstall hook), or
- restored from a cache before the test step runs.
On the windows-latest GitHub Actions runner, this binary download either fails silently or is skipped, causing npm test to exit with a non-zero code.
Expected behavior
All three OS matrix jobs (ubuntu-latest, macos-latest, windows-latest) pass the test step successfully before the release job runs.
Actual behavior
The windows-latest job fails with exit code 1 during npm test because the Cypress binary is missing.
Screenshots
No screenshot needed
How to Reproduce
- Push a
fix: or feat: prefixed commit to master in asyncapi/asyncapi-react.
- Observe the
Release - if Node project workflow trigger.
- The
Test NodeJS release on windows-latest job fails at the Run test step.
🖥️ Device Information [optional]
No response
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None
Repository affected
asyncapi/asyncapi-reactWorkflow
https://github.com/asyncapi/asyncapi-react/blob/master/.github/workflows/if-nodejs-release.yml
Failing job
Test NodeJS release on windows-latest — Run #27760744752, Job #82469738418
This is not an isolated event, I rerunned this workflow and it still failed.
Description
The root cause is that the Cypress npm package is installed via
npm ci, but the Cypress binary (a platform-specific executable that is downloaded separately from the npm package) is not present at test runtime on Windows. Cypress requires its binary to be either:npm ci(via apostinstallhook), orOn the
windows-latestGitHub Actions runner, this binary download either fails silently or is skipped, causingnpm testto exit with a non-zero code.Expected behavior
All three OS matrix jobs (
ubuntu-latest,macos-latest,windows-latest) pass the test step successfully before the release job runs.Actual behavior
The
windows-latestjob fails with exit code 1 duringnpm testbecause the Cypress binary is missing.Screenshots
No screenshot needed
How to Reproduce
fix:orfeat:prefixed commit tomasterinasyncapi/asyncapi-react.Release - if Node projectworkflow trigger.Test NodeJS release on windows-latestjob fails at the Run test step.🖥️ Device Information [optional]
No response
👀 Have you checked for similar open issues?
🏢 Have you read the Contributing Guidelines?
Are you willing to work on this issue ?
None