mirror of
https://github.com/Discreetly/server.git
synced 2026-01-07 19:53:55 -05:00
github actions fix
This commit is contained in:
8
.github/workflows/unit-tests.yml
vendored
8
.github/workflows/unit-tests.yml
vendored
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user