ci: adds linting/build workflow to commits

This commit is contained in:
sct
2020-08-23 06:23:19 +00:00
parent 1647f8c049
commit 28854190a0
2 changed files with 26 additions and 0 deletions

View File

@@ -7,6 +7,7 @@
"build:server": "tsc --project server/tsconfig.json",
"build:next": "next build",
"build": "yarn build:next && yarn build:server",
"lint": "eslint \"./server/**/*.{ts,tsx}\" \"./src/**/*.{ts,tsx}\"",
"start": "NODE_ENV=production node dist/server/index.js"
},
"dependencies": {