Skip to content

Commit 2367ab6

Browse files
committed
Add lint before run test
1 parent 1bafd8d commit 2367ab6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
with:
2222
node-version: '12'
2323
- run: npm install
24+
- run: npm run lint
2425
- run: npm run test
2526
env:
2627
CLIENT_ID: ${{ secrets.CLIENT_ID }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"clean": "rimraf lib es",
5959
"build:es": "rollup -c",
6060
"build:lib": "rollup -c ./rollup.config.lib.js",
61-
"build": "npm run clean && npm run lint && npm run build:es && npm run build:lib"
61+
"build": "npm run clean && npm run build:es && npm run build:lib"
6262
},
6363
"repository": {
6464
"type": "git",

0 commit comments

Comments
 (0)