Skip to content

Commit 6bb6424

Browse files
committed
chore: add lint to ci workflow
1 parent 4c393e0 commit 6bb6424

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
- run: npm ci
3939
- run: npm run build --if-present
4040
- run: npm test
41+
- run: npm run lint --if-present

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"release": "npm run build && npm test && standard-version && git push --follow-tags origin master && npm publish",
3636
"release-docker": "make release-docker",
3737
"test": "make test",
38-
"coverage": "make coverage"
38+
"coverage": "make coverage",
39+
"lint": "eslint src"
3940
},
4041
"dependencies": {
4142
"aliyun-oss-upload-stream": "1.3.0",

0 commit comments

Comments
 (0)