Closed jaylenw closed 11 months ago
docker-compose run --no-deps nota npm run linter
will do the trick. I have verified that the exit code of the npm command will be observed by the ci runner. The --no-deps
flag is used as we do not need the mongodb container to be started for running the lint tests.
Closing as this repository will be archived.
Problem or Question?
We have an extra GitHub Action workflow that is not needed. We can delete the eslint workflow and run the eslint test in the
build-n-deploy
workflow. This will be more efficient.Any additional Context?
When we were using Travis, the eslint workflow was created once GitHub Actions was available. Now since we have migrated everything away from Travis to GitHub Actions we can move the eslint tests into the
build-n-deploy
workflow.Any issue(s) or pull request(s) that may be related to this?
N/A