Skip to content

Fix lint

Fix lint #12

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
services:
medico-db:
image: postgres:16
env:
POSTGRES_HOST_AUTH_METHOD: trust
POSTGRES_DB: prisma_cleaner
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: run test
run: |
npm ci
npm install @rollup/rollup-linux-x64-gnu
npm run lint
npm run test:prepare
npm run test