Skip to content

Commit

Permalink
remove all changes from action
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyshnav001 committed Oct 11, 2024
1 parent d72e608 commit 10e7e71
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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 }}
Expand Down Expand Up @@ -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

0 comments on commit 10e7e71

Please sign in to comment.