Skip to content

Running API tests 🧪 #17

Running API tests 🧪

Running API tests 🧪 #17

Workflow file for this run

name: API Tests
run-name: Running API tests 🧪
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
build-and-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: arunpariyar
POSTGRES_PASSWORD: postgres123
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- run: npm ci
- run: npm test