test running services

This commit is contained in:
Hongbo Wu
2022-04-05 17:05:15 +08:00
parent a2dc73b3c0
commit 8db808c110
4 changed files with 5 additions and 6 deletions

View File

@ -63,13 +63,12 @@ jobs:
run: |
source ~/.nvm/nvm.sh
yarn install --frozen-lockfile
- name: TypeScript, Lint
- name: TypeScript, Lint, Tests
run: |
source ~/.nvm/nvm.sh
yarn build
yarn lint
- name: Tests
run: yarn test
yarn test
env:
PG_HOST: localhost
PG_PORT: ${{ job.services.postgres.ports[5432] }}