diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4376ded..064fd45 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,6 +21,9 @@ jobs: - name: Install dependencies run: npm ci + - name: Run linter + run: npm run lint -- --max-warnings 0 + - name: Build run: npm run build diff --git a/src/index.ts b/src/index.ts index aaeb355..6de171b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -9,6 +9,7 @@ import v1Router from "./api/v1/router"; import indexerWebhookRouter from "./routes/webhooks/indexer"; import { env } from "./config/env"; +import { metricsHandler, metricsMiddleware } from "./metrics/prometheus"; const app = express(); const PORT = env.PORT;