diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8db64a7..ea168ce 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,6 +15,9 @@ jobs: - name: Install dependencies run: | npm ci + - name: Run lint + run: | + npm run lint - name: Run build run: | npm run build diff --git a/package.json b/package.json index ee999eb..0cd3ce6 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "install:container": "docker exec -it badgehub-api-node-1 npm install", "start": "node dist/index.js", "monitor": "docker exec -it badgehub-api-node-1 npx pm2 monit", + "lint": "pretty-quick --check", "build": "tsc", "swagger": "tsoa spec-and-routes", "dev": "node --import tsx --watch src/index.ts",