From ea4c3c03f90b2cbb67a035ca6efd384a29a26dc1 Mon Sep 17 00:00:00 2001 From: thanhdanh27600 Date: Wed, 13 Sep 2023 10:02:44 +0700 Subject: [PATCH] add tsc to ci --- .github/workflows/ci.yml | 1 + package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 546458ef..6c79aed4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,4 +25,5 @@ jobs: SECRET_PASSPHRASE: ${{ secrets.SECRET_PASSPHRASE }} - run: npm i - run: npm run lint + - run: npm run tsc - run: npm run test diff --git a/package.json b/package.json index ee59a96e..adcd9009 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "next build", "start": "next start", "lint": "next lint", + "tsc": "tsc", "db:push": "prisma db push", "gen": "prisma generate", "migrate": "prisma migrate deploy"