feat: add PG instrumentation and some refactoring #1702
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: test | |
on: | |
- push | |
- pull_request | |
jobs: | |
############################################################################## | |
unit-tests: | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: Byndyusoft/node-reusable-workflows/.github/actions/install@master | |
with: | |
node-version: ${{ matrix.node }} | |
- run: yarn run build | |
- run: yarn run test:cov | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
- windows-latest | |
node: | |
- lts/* | |
- current | |
############################################################################## | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: Byndyusoft/node-reusable-workflows/.github/actions/install@master | |
with: | |
node-version: lts/* | |
- run: yarn run build | |
- run: yarn run lint |