diff --git a/.github/workflows/svg-compare-all-views.yml b/.github/workflows/svg-compare-all-views.yml index 6449cfad6bd..e5aec081742 100644 --- a/.github/workflows/svg-compare-all-views.yml +++ b/.github/workflows/svg-compare-all-views.yml @@ -52,7 +52,7 @@ jobs: env: # using "ternary operator" from https://github.com/actions/runner/issues/409#issuecomment-752775072 RM_ON_ERROR: ${{ env.PUSH_BRANCH_NAME == 'master' && '' || '--rm-on-error' }} - run: node --enable-source-maps itsJustJavascript/devTools/svgTester/verify-graphs.js -i owid-grapher-svgs/configs -o owid-grapher-svgs/svg-all-views -r owid-grapher-svgs/svg-all-views --ids-from-file owid-grapher-svgs/most-viewed-charts.txt $RM_ON_ERROR > compare-result + run: node --enable-source-maps itsJustJavascript/devTools/svgTester/verify-graphs.js -i owid-grapher-svgs/configs -o owid-grapher-svgs/svg-all-views -r owid-grapher-svgs/svg-all-views --ids-from-file owid-grapher-svgs/most-viewed-charts.txt --all-views $RM_ON_ERROR > compare-result # If the last step failed we want to commit all changed svgs and push them to the new branch on the owid-grapher-svgs repo - uses: stefanzweifel/git-auto-commit-action@v4