github actions fix

This commit is contained in:
Tanner Shaw
2023-08-16 12:26:36 -05:00
parent c785326a88
commit f888e1aad7

View File

@@ -10,14 +10,13 @@ jobs:
build:
runs-on: ubuntu-latest
env:
DATABASE_URL_TEST: ${{ secrets.DATABASE_URL_TEST }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
@@ -27,3 +26,6 @@ jobs:
- run: npx prisma generate
- run: npm run build --if-present
- run: npm test
env:
DATABASE_URL_TEST: ${{ secrets.DATABASE_URL_TEST }}
DATABASE_URL: ${{ secrets.DATABASE_URL }}