From f40935122b3a3cc543ddd8912d70aab4708c9907 Mon Sep 17 00:00:00 2001 From: Ankit Date: Thu, 28 Nov 2024 20:30:27 +0530 Subject: [PATCH] added the db secrets --- .github/workflows/lint.yml | 5 ++--- package.json | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6c3e1b1..0e669c2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -14,9 +14,8 @@ jobs: - name: Installing dependencies run: npm install - - - name: Generating prisma client - run: npm run prod:prisma-client + with: + DATABASE_URL: ${{ secrets.DATABASE_URL }} - name: Fixing the formatting run: npm run format:fix diff --git a/package.json b/package.json index 74616df..0589cd5 100755 --- a/package.json +++ b/package.json @@ -16,8 +16,7 @@ "dev:docker": "concurrently \"npm run prisma:docker \" \" npm run dev\" ", "format:check": "prettier . --check", "format:fix": "prettier . --write", - "prepare": "husky", - "prod:prisma-client": "npx prisma generate" + "prepare": "husky" }, "dependencies": { "@hookform/resolvers": "^3.9.0",