Skip to content

Merge pull request #123 from Quramy/renovate/quramy-prisma-fabbrica-2… #321

Merge pull request #123 from Quramy/renovate/quramy-prisma-fabbrica-2…

Merge pull request #123 from Quramy/renovate/quramy-prisma-fabbrica-2… #321

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14.11-alpine
ports:
- 5432:5432
env:
POSTGRES_USER: admin123
POSTGRES_PASSWORD: admin123
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: npm install, build, and test
run: |
npm ci
npm run compile
npm run migrate:test
npm run test
env:
DATABASE_URL: postgresql://admin123:admin123@localhost:5432/test
CI: true