Skip to content

Commit

Permalink
[TASK] Add options to docs:generate
Browse files Browse the repository at this point in the history
Add "fail-on-log" and "no-progress"
options to better match the local
rendering of the documentation
with the test in the GitHub pipeline.
That allows to find rendering issues
locally, not only during the pipeline
run.
see #265
  • Loading branch information
christianbltr committed Jan 3, 2025
1 parent af88932 commit 93ef7c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"vendor-dir": ".Build/vendor"
},
"scripts": {
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation --fail-on-log --no-progress",
"test:unit": ".Build/bin/phpunit -c Tests/phpunit.xml.dist",
"test:phpstan": ".Build/bin/phpstan clear-result-cache && .Build/bin/phpstan --configuration=Tests/phpstan.neon > phpstan-report.log",
"test:php-cs-fixer": ".Build/bin/php-cs-fixer fix -v --dry-run --using-cache=no > php-cs-fixer-report.log"
Expand Down

0 comments on commit 93ef7c6

Please sign in to comment.