Skip to content

Commit 76bf424

Browse files
ci: update codecov, husky (#444)
1 parent 8a06c04 commit 76bf424

File tree

6 files changed

+31759
-43
lines changed

6 files changed

+31759
-43
lines changed

.github/workflows/build-and-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
run: npm run test:prod
5050

5151
- name: Upload coverage to Codecov
52-
uses: codecov/codecov-action@v1
52+
uses: codecov/codecov-action@v2
5353
with:
5454
fail_ci_if_error: true
5555

.husky/commit-msg

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install commitlint --edit $1

.husky/pre-commit

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx --no-install pretty-quick --staged

.husky/pre-push

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npm run test:prod

0 commit comments

Comments
 (0)