Skip to content

Commit

Permalink
[CI] test:all should also check/fix format (google#1811)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored Feb 2, 2024
1 parent edd2a0c commit def1d2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"_cd:docs": "cd userguide &&",
"_check:format": "npx prettier --check .??* *.md",
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
"_diff:check": "git diff --name-only --exit-code",
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
"_prebuild": "npm run _cp:bs-rfs",
"_test:docs": "npm run cd:docs test",
Expand All @@ -29,7 +30,7 @@
"preserve": "npm run _prebuild",
"pretest": "npm run _prebuild",
"serve": "npm run cd:docs serve",
"test:all": "npm run _test:docs && npm run check",
"test:all": "npm run _test:docs && npm run check && npm run fix:format && npm run _diff:check",
"test": "npm run _test:docs",
"update:pkg:dep": "npm install --save-exact @fortawesome/fontawesome-free@latest bootstrap@latest",
"update:pkg:hugo": "npm install --save-exact -D hugo-extended@latest"
Expand Down

0 comments on commit def1d2c

Please sign in to comment.