Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: migrate to node test runner #1129

Merged
merged 12 commits into from Feb 1, 2024
31 changes: 31 additions & 0 deletions .github/workflows/ci-n21.yml
@@ -0,0 +1,31 @@
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:alpine
env:
POSTGRES_PASSWORD: postgres
ports:
- 5433: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: 21
- run: |
npm ci
npm run db:migrate
npm run lint
npm test