make a separate step for testing

This commit is contained in:
Hongbo Wu
2022-04-05 16:49:14 +08:00
parent ed76093c40
commit a2dc73b3c0

View File

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