Skip to content

Commit

Permalink
build: separate lint and test scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
djcsdy committed Jul 13, 2020
1 parent 2ba7038 commit 4e1bf15
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
node-version: ${{matrix.node-version}}
- run: yarn
- run: yarn test
- run: yarn lint
deploy:
name: Deploy
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"scripts": {
"prepare": "tsc",
"semantic-release": "semantic-release",
"test": "prettier --check . && eslint . && ava",
"test": "ava",
"lint": "prettier --check . && eslint .",
"fix": "eslint . --fix && prettier --write ."
},
"dependencies": {
Expand Down

0 comments on commit 4e1bf15

Please sign in to comment.