Skip to content

Commit 977228c

Browse files
authored
ci: add lint command for CI (#210)
1 parent 4ec284b commit 977228c

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
@@ -22,9 +22,10 @@
2222
"ncu-all": "ncu -i",
2323
"compile": "tsc",
2424
"prepare": "husky && yarn build",
25-
"sanity": "yarn lint && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
25+
"sanity": "yarn lint:ci && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
2626
"semantic-release": "semantic-release",
27-
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
27+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
28+
"lint:ci": "yarn lint"
2829
},
2930
"engines": {
3031
"node": ">=18.0.0"

0 commit comments

Comments
 (0)