Skip to content

Commit

Permalink
Add lint task
Browse files Browse the repository at this point in the history
  • Loading branch information
zera1ul committed Sep 15, 2024
1 parent 7ef2203 commit f6e71de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f6e71de

Please sign in to comment.