Skip to content

Commit

Permalink
fix(core): yUpdate circleCi script and hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
NarongOk committed Oct 12, 2024
1 parent 0c45342 commit 1acb709
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
- setup
- run:
name: Check Formatting
command: yarn format:check --uncommitted
command: yarn format:check --base='$(git rev-parse --abbrev-ref HEAD)'
- run:
name: Check Commit Message Format
command: yarn checkcommit
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"publish-local": "copy .npmrc.local .npmrc && run-p \"rimraf tmp\" e2e-registry \"ts-node ./tools/scripts/publish-all 99.99.99 local\"",
"semantic-release": "semantic-release",
"ts-node": "ts-node",
"rimraf": "rimraf"
"rimraf": "rimraf",
"branch": "git rev-parse --abbrev-ref HEAD"
},
"private": true,
"dependencies": {
Expand Down Expand Up @@ -119,7 +120,7 @@
},
"husky": {
"hooks": {
"pre-push": "yarn checkcommit && yarn format:check --base=origin/main"
"pre-push": "yarn checkcommit && yarn format:check --base='$(git rev-parse --abbrev-ref HEAD)'"
}
}
}

0 comments on commit 1acb709

Please sign in to comment.