Skip to content

Commit

Permalink
chore: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Aug 12, 2024
1 parent 73aa9e2 commit ece1606
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: yarn test:coverage

- name: generate badges
run: yarn generate-coverage-report:badges
run: yarn generate-coverage-badges

- name: push coverage artifacts to another branch
uses: peaceiris/actions-gh-pages@v4
Expand Down
4 changes: 2 additions & 2 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn run test:coverage
yarn generate-coverage-report --type readme
yarn commitlint --edit "$1"
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
"build": "rimraf dist && tsc -p ./tsconfig.build.json",
"changeset": "changeset",
"cz": "cz",
"generate-coverage-report:badges": "yarn run test:coverage && generate-coverage-report --type badges",
"generate-coverage-report:readme": "yarn run test:coverage && generate-coverage-report --type readme",
"generate-coverage-badges": "yarn run test:coverage && generate-coverage-report --type badges",
"lint": "eslint .",
"lint-fix": "yarn lint --fix",
"lint-staged-files": "lint-staged --allow-empty",
Expand Down

0 comments on commit ece1606

Please sign in to comment.