Skip to content

matching: close connection to cache on stop() 🐛 #57

matching: close connection to cache on stop() 🐛

matching: close connection to cache on stop() 🐛 #57

Workflow file for this run

name: lint & test
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
# make this workflow callable from other workflows
workflow_call:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['22']
postgis-docker-tag:
- '14-3.4-alpine'
steps:
- name: checkout
uses: actions/checkout@v4
- name: setup Node v${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: install sponge (moreutils)
run: sudo apt install -y moreutils
- name: install & start PostgreSQL with PostGIS
run: |
docker run -d \
-e POSTGRES_USER=$PGUSER -e POSTGRES_PASSWORD=$PGPASSWORD -e POSTGRES_DB=$PGDATABASE \
-p 5432:5432 postgis/postgis:${{ matrix.postgis-docker-tag }} \
-c timezone=Europe/Berlin
env:
PGUSER: postgres
PGPASSWORD: password
PGDATABASE: postgres
- run: npm install
- run: npm run lint
- run: npm test