chore(deps-dev): bump prettier from 3.3.3 to 3.4.2 #2854
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Lint Test | |
on: [push] | |
jobs: | |
# ===== Build & test API | |
build-test: | |
environment: build | |
runs-on: ubuntu-latest | |
# PostGreSQL test database init | |
services: | |
postgres: | |
image: postgis/postgis | |
env: | |
POSTGRES_USER: root | |
POSTGRES_PASSWORD: root | |
POSTGRES_DB: grottoce | |
ports: | |
- 5432:5432 | |
# needed because the postgres container does not provide a healthcheck | |
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.x | |
cache: npm | |
- run: npm ci | |
- run: npm run lint | |
- run: npm test | |
- run: npm run-script coverage | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |