Merge pull request #2889 from omnivore-app/chore/run-lint-separate-from-tests
Run lint separately from tests in github action
This commit is contained in:
12
.github/workflows/run-tests.yaml
vendored
12
.github/workflows/run-tests.yaml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user