This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Description
👓 What did you see?
It seems, that json-formatter doesn't work correctly on github actions - it doesn't return anything after calling cucumber-json-formatter --help + it generates empty json file using this cmd
cucumber-json-formatter < cypress/results/reports/cucumber_json/cucumber-messages.ndjson > cypress/results/cucumber-standalone.json
✅ What did you expect to see?
cucumber-json-formatter work correctly on github actions.
Workflow is:
- Add folder into PATH
- Download
cucumber-json-formatter (linux version) into folder
chmod +x
- Run tests to generate ndjson
- It should generate json also - doesn't work
- Execute formatter in separate step - doesn't work
📦 Which tool/library version are you using?
this is package.json, but I don't think that it is needed due I doesn't work in standalone version.
package.json
"@badeball/cypress-cucumber-preprocessor": "^12.1.0",
"@bahmutov/cypress-esbuild-preprocessor": "^2.1.3",
"cypress": "^10.6.0",
"cypress-multi-reporters": "^1.6.1"
🔬 How could we reproduce it?
https://github.com/vojtech-cerveny/cypress-cucumber-framework
Steps to reproduce the behavior:
- Check workflow
- This line should generate
json file from ndjson (it works locally), but it doesn't on github actions.
https://github.com/vojtech-cerveny/cypress-cucumber-framework/actions/runs/3549525386/workflow#L66

📚 Any additional context?