diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 57688ed..3b459e2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,21 +26,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install dependencies - run: | - npm install - - # Add DATABASE_URL to ensure Prisma connects to the correct database - - name: Run Prisma Migrations - run: | - npx prisma migrate deploy - env: - DATABASE_URL: ${{ secrets.DATABASE_URL }} - - - name: Generate Prisma Client - run: | - npx prisma generate - env: - DATABASE_URL: ${{ secrets.DATABASE_URL }} + run: npm install - name: Check Environment Variables run: | @@ -50,7 +36,8 @@ jobs: echo "GOOGLE_SECRET is set: ${{ env.GOOGLE_SECRET != '' }}" echo "TURSO_AUTH_TOKEN is set: ${{ env.TURSO_AUTH_TOKEN != '' }}" echo "TURSO_DATABASE_URL is set: ${{ env.TURSO_DATABASE_URL != '' }}" - echo "RESEND_API_KEY is set: ${{ env.RESEND_API_KEY != '' }}" + echo "RESEND_API_KEY" is set ${{ env.RESEND_API_KEY != '' }} + echo env: NEXT_PUBLIC_SITE_URL: ${{ secrets.NEXT_PUBLIC_SITE_URL }} NEXTAUTH_SECRET: ${{ secrets.NEXTAUTH_SECRET }} @@ -79,4 +66,4 @@ jobs: uses: actions/upload-artifact@v3 with: name: build - path: build # Adjust this if your build output is in a different directory + path: build # Adjust this if your build output is in a different directory \ No newline at end of file