Skip to content

Add initial version of pg-password-util with support for md5 and scram-sha-256 #5

Add initial version of pg-password-util with support for md5 and scram-sha-256

Add initial version of pg-password-util with support for md5 and scram-sha-256 #5

Workflow file for this run

name: CI
on:
pull_request:
branches:
- '*'
paths-ignore:
- 'docs/**'
- '**/*.md'
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint
run: make clean deps lint
test:
name: Test - Node v${{ matrix.node_version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node_version:
- '16'
- '18'
- '20'
- 'lts/-0'
- 'lts/-1'
- 'latest'
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
cache: npm
- name: Compile
run: make clean deps compile
- name: Setup Postgres
env:
DOCKER_OPTS: '--detach'
run: |
bin/postgres-server
for i in {1..10}
do
if pg_isready -h 127.0.0.1
then
break
fi
sleep 1
done
- name: Test
run: make test-cov
- name: Upload Coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}