Skip to content

Commit f327936

Browse files
authored
ci: add lint command for CI (#595)
1 parent d8a73a5 commit f327936

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
@@ -20,9 +20,10 @@
2020
"git-hook": "yarn -s lint",
2121
"compile": "tsc",
2222
"prepare": "husky && yarn compile",
23-
"sanity": "yarn lint && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
23+
"sanity": "yarn lint:ci && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'",
2424
"semantic-release": "semantic-release",
25-
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
25+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
26+
"lint:ci": "yarn lint"
2627
},
2728
"engines": {
2829
"node": ">=18.0.0"

0 commit comments

Comments
 (0)