-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
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
ci: Add eslint action #244
Conversation
It fails to install node-odbc due to
It runs the action in the node10-slim docker container, so maybe it the container doesn't have the required dependencies to run node-gyp. |
Thats true but I don't think that causes the run to fail because odbc is an optional dep. Following the npm log there is the following:
I'm thinking this error originates from a permissions issue from https://github.com/hallee/eslint-action/blob/master/lib/run.js#L103 |
Alternatively we can use https://github.com/stefanoeb/eslint-action. This wont annotate the diffs of your pull requests with lint errors and warnings though. It uses the eslint CLI. |
7f9e856
to
bbfbfdf
Compare
Using https://github.com/stefanoeb/eslint-action was successful although the run logs a ton of |
@kadler how about we simply run eslint during our CI action. Something similar to the suggestion here: stefanoeb/eslint-action#8 (comment) |
Yeah, I think it would be better to call out to |
bbfbfdf
to
79ae206
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolves #201
Workflow added from https://github.com/hallee/eslint-action#usage