Skip to content

Merge pull request #94 from Quramy/renovate/typescript-5.x-lockfile #229

Merge pull request #94 from Quramy/renovate/typescript-5.x-lockfile

Merge pull request #94 from Quramy/renovate/typescript-5.x-lockfile #229

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:14.10-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: 18
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