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",