fix: Fixes workflows.

This commit is contained in:
greysoh 2024-05-10 17:52:16 -04:00
parent d5596ff38f
commit c387e28b41
No known key found for this signature in database
GPG key ID: FE0F173B8FC01571
2 changed files with 5 additions and 2 deletions

View file

@ -12,6 +12,9 @@ defaults:
run:
working-directory: api
env:
DATABASE_URL: "postgresql://nextnet:nextnet@127.0.0.1:5432/nextnet?schema=nextnet"
jobs:
test:
runs-on: ubuntu-latest
@ -47,7 +50,7 @@ jobs:
run: npx prisma migrate dev
- name: Build source
run: npm build
run: npm run build
- name: Run eslint
run: npx eslint src

View file

@ -29,7 +29,7 @@ jobs:
run: npm install --save-dev
- name: Build source
run: npm build
run: npm run build
- name: Run eslint
run: npx eslint src