Skip to content

feat(ci): configure ci settings #1

feat(ci): configure ci settings

feat(ci): configure ci settings #1

Workflow file for this run

name: Run tests
on: push
jobs:
run-ci:
name: Run tests
runs-on: ubuntu-latest
services:
postgres:
image: postgres:13
ports:
- 5432:5432
env:
POSTGRES_USER: docker
POSTGRES_PASSWORD: docker
POSTGRES_DB: inorbit_test
options: >-
--health-cmd pg_isready
--health-interval 5s
--health-timeout 5s
--health-retries 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- run: npm ci
- run: npm run test