feat: support postgres db #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: Unit Tests | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Unit Tests | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v3.7.0 | |
with: | |
always-auth: false | |
node-version: ${{ matrix.node-version }} | |
- name: Run yarn install | |
run: yarn install | |
- name: Run build | |
run: | | |
yarn g:build | |
- name: Run Tests | |
run: yarn g:test-unit |