Skip to content
This repository was archived by the owner on Jun 14, 2025. It is now read-only.

Commit c857b80

Browse files
committed
fix github actions to include env during test & lint phase
1 parent 17f3308 commit c857b80

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,17 @@ jobs:
3737

3838
- name: 🎨 Run ESLint
3939
run: npm run lint
40+
env:
41+
DATABASE_URL: ${{ secrets.DATABASE_URL }}
42+
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
43+
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
4044

4145
- name: 🏗️ TypeScript type check
4246
run: npx tsc --noEmit
47+
env:
48+
DATABASE_URL: ${{ secrets.DATABASE_URL }}
49+
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
50+
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }}
4351

4452
- name: 📋 Prisma validation
4553
run: npx prisma validate

0 commit comments

Comments
 (0)