Add Buildkite pipeline

Fixes #1
amy-random-shapes
Aditya Thakral 2 years ago
parent 6a25e28cef
commit 2fbe623e7f
  1. 17
      buildkite/pipeline.yml
  2. 4
      package.json

@ -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"

@ -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",

Loading…
Cancel
Save