Skip to content

Commit

Permalink
Update husky to 5.0.4 (#323)
Browse files Browse the repository at this point in the history
* Update husky to 5.0.4
Installed husky as described here: https://typicode.github.io/husky/#/?id=install

Also
* weaken the requirements for the node version
* Update package-lock.json (npm update)
* Add build to tests
  • Loading branch information
aeifn authored Dec 7, 2020
1 parent 0b779a0 commit b9e59b8
Show file tree
Hide file tree
Showing 5 changed files with 13,101 additions and 1,789 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
- run: npm test
- run: npm run build --if-present
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname $0)/_/husky.sh"

npm test
Loading

0 comments on commit b9e59b8

Please sign in to comment.