Refactored Login Component #43
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint Frontend Code | |
on: | |
pull_request: | |
paths: | |
- client/** | |
jobs: | |
Lint_Frontend_Code: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 18 | |
- run: npm ci | |
working-directory: client | |
- run: npm run lint | |
working-directory: client | |
- run: > | |
echo ' | |
If this test failed, run "npm run lint" in your local dev environment." and fix the errors/warnings. | |
Next, add those changes to the staging area with "git add" and ammend those changes to your PR with "git commit --amend --no-edit && git push origin branch_name_here -f" | |
' |