Add Buildkite pipeline

Fixes #1
This commit is contained in:
Aditya Thakral 2021-04-25 20:36:11 -04:00
parent 6a25e28cef
commit 2fbe623e7f
2 changed files with 20 additions and 1 deletions

17
buildkite/pipeline.yml Normal file
View File

@ -0,0 +1,17 @@
agents:
npm: true
steps:
- label: "Install deps"
command: "npm install"
- wait
- label: "Lint"
command: "npm run lint"
- label: "Type check"
command: "npm run typecheck"
- label: "Build"
command: "npm run build"

View File

@ -4,7 +4,9 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
"start": "next start",
"lint": "eslint \"{pages,components}/**/*.{js,ts,tsx,jsx}\"",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"date-fns": "^2.11.1",