Run tsc in tests

This commit is contained in:
Mia 2021-10-11 20:53:16 -05:00
parent a112419c5e
commit fdbf9198d0
2 changed files with 3 additions and 2 deletions

View File

@ -25,6 +25,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint
- run: npm run test
env:
CI: true

View File

@ -6,7 +6,8 @@
"scripts": {
"lint": "eslint . --cache --ext .js,.ts",
"build": "npx tsc",
"start": "npm run build && npx pm2 start .dist"
"start": "npm run build && npx pm2 start .dist",
"test": "npm run lint && npx tsc"
},
"dependencies": {
"@types/node": "^15.12.4",