Skip to content

Commit de9436f

Browse files
committed
linting in workflow
1 parent d813bc6 commit de9436f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,6 @@ jobs:
2121
- name: yarn install & test
2222
run: |
2323
yarn install --frozen-lockfile
24+
yarn type-check
25+
yarn lint
2426
yarn test

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"license": "MIT",
1111
"scripts": {
1212
"test": "jest",
13-
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
13+
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
14+
"type-check": "tsc --noEmit"
1415
},
1516
"devDependencies": {
1617
"@babel/core": "^7.12.9",

0 commit comments

Comments
 (0)