We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How is it possible to fail a CI build on CircleCi if Eslint generates an error or a warning?
Seems like the only access to linting results is through npm start. However, this config file doesn't do the trick.
npm start
version: 2 jobs: build: docker: - image: circleci/node:7.10 steps: - checkout - run: npm install - run: npm start
The build just hangs. I guess that start script doesn't return any exit status.
start
The text was updated successfully, but these errors were encountered:
Change:
- run: npm start
to:
- run: CI=true npm run build
Sorry, something went wrong.
No branches or pull requests
How is it possible to fail a CI build on CircleCi if Eslint generates an error or a warning?
Seems like the only access to linting results is through
npm start
.However, this config file doesn't do the trick.
The build just hangs. I guess that
start
script doesn't return any exit status.The text was updated successfully, but these errors were encountered: