Add initial version of pg-password-util with support for md5 and scram-sha-256 #4
Workflow file for this run
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: 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 | |
then | |
break | |
fi | |
sleep 1 | |
done | |
- name: Test | |
run: make test-cov | |
- name: 'Upload Coverage' | |
uses: codecov/codecov-action@a1ed4b322b4b38cb846afb5a0ebfa17086917d27 | |
with: | |
file: ./coverage/lcov.info |