Skip to content

Bump braces from 3.0.2 to 3.0.3 (#18) #81

Bump braces from 3.0.2 to 3.0.3 (#18)

Bump braces from 3.0.2 to 3.0.3 (#18) #81

Workflow file for this run

name: postgresql
on:
push:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
services:
postgres:
image: postgres:9.6
env:
POSTGRES_USER: "test"
POSTGRES_PASSWORD: ${{ secrets.POSTGRESQL_PASSWORD }}
POSTGRES_DB: "testdb"
ports:
- 5432/tcp
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Git checkout
uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run test:postgresql
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
POSTGRESQL_PASSWORD: "${{ secrets.POSTGRESQL_PASSWORD }}"