Run lint separately from tests in github action

Attempting to make the github action output a little more
manageable.
This commit is contained in:
Jackson Harper
2023-10-09 10:37:57 +08:00
parent 3576888a71
commit 2444a1b907

View File

@ -89,6 +89,18 @@ jobs:
source ~/.nvm/nvm.sh
yarn build
yarn lint
env:
PG_HOST: localhost
PG_PORT: ${{ job.services.postgres.ports[5432] }}
PG_USER: app_user
PG_PASSWORD: app_pass
PG_DB: omnivore_test
PG_POOL_MAX: 10
ELASTIC_URL: http://localhost:${{ job.services.elastic.ports[9200] }}/
REDIS_URL: redis://localhost:${{ job.services.redis.ports[6379] }}
- name: Tests
run: |
source ~/.nvm/nvm.sh
yarn test
env:
PG_HOST: localhost