Skip to content

Commit

Permalink
build: ensure that nodes/ccu-*.html is updated
Browse files Browse the repository at this point in the history
  • Loading branch information
ptweety committed Oct 17, 2022
1 parent 37a7814 commit 1683e43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lintonly
npm run build:nodehtml && npm run lintonly
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@
},
"scripts": {
"checkgit": "([[ $(git rev-parse --abbrev-ref HEAD) == \"main\" ]] && git diff --exit-code && git diff --cached --exit-code && git diff --exit-code origin/main..main)",
"build:nodehtml": "node ./build-nodehtml.js",
"lintfix": "xo --fix",
"lintonly": "xo",
"version": "auto-changelog -p && git add CHANGELOG.md",
Expand Down

0 comments on commit 1683e43

Please sign in to comment.