Skip to content

Commit 208b1da

Browse files
authored
ci: add lint command for CI (#541)
1 parent 55da619 commit 208b1da

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/code-style.yml renamed to .github/workflows/code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Code style'
1+
name: 'Code quality'
22

33
on:
44
pull_request:

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
"git-hook": "yarn -s lint-staged",
3030
"prepare": "husky && yarn build",
3131
"print-txo-packages": "yarn list 2> /dev/null|grep @txo|sed 's/.*\\(@txo[^@]*\\)@^*\\([^ ]*\\).*/\\1@\\2/g'|sort|uniq",
32-
"sanity": "yarn lint && yarn build && tsc --noEmit && yarn test --coverage && yarn compare-boilerplate-version && echo 'success'",
32+
"sanity": "yarn lint:ci && yarn build && tsc --noEmit && yarn test --coverage && yarn compare-boilerplate-version && echo 'success'",
3333
"semantic-release": "semantic-release",
34-
"update-boilerplate-version": "./scripts/update-boilerplate-version.sh"
34+
"update-boilerplate-version": "./scripts/update-boilerplate-version.sh",
35+
"lint:ci": "yarn lint"
3536
},
3637
"engines": {
3738
"node": ">=18.0.0"

0 commit comments

Comments
 (0)