When opening a Pull Request, a Github Action should run that automatically checks the code for lint errors
Requirements
github action that checks code for lint errors runs each time a commit is pushed to a pull request
Notes
i'd recommend just using the actions/setup-node@v1 action which lets you just run any of your npm scripts (including the lint script you should have added in the previous task) in the github action
i glossed over a few details here but we can discuss more in this thread if you have any other questions!
What
When opening a Pull Request, a Github Action should run that automatically checks the code for lint errors
Requirements
Notes
i'd recommend just using the
actions/setup-node@v1
action which lets you just run any of your npm scripts (including thelint
script you should have added in the previous task) in the github actioni glossed over a few details here but we can discuss more in this thread if you have any other questions!