Skip to content
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

Add workflow to lint react-app #2013

Merged
merged 6 commits into from
Jan 5, 2024
Merged

Conversation

TaylorFries
Copy link
Collaborator

@TaylorFries TaylorFries commented Jan 3, 2024

🎯 Summary

PIMS-621:

Add linting workflow for react-app folder

🔰 Checklist

  • I have read and agree with the following checklist and am following the guidelines in our Code of Conduct document.
  • I have performed a self-review of my code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation where required.
  • I have tested my changes to the best of my ability.
  • My changes generate no new warnings.

@TaylorFries TaylorFries self-assigned this Jan 3, 2024
@TaylorFries TaylorFries marked this pull request as ready for review January 3, 2024 23:58
.github/workflows/react-app-lint.yml Outdated Show resolved Hide resolved
# Could optimize this by only installing necessary dependencies
- name: Install Dependencies
working-directory: ./react-app
run: npm i --only=dev
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I always assumed this worked, but now I see this output:
image

Doesn't hurt to have it in, but maybe it's not doing what we thought.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After some searching it seems like this flag stopped working in 2020, any updated command seems to not replicate what this did.

@dbarkowsky dbarkowsky self-requested a review January 5, 2024 22:45
Copy link
Collaborator

@dbarkowsky dbarkowsky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks to be running properly. 👍

@dbarkowsky dbarkowsky merged commit ac629e6 into main Jan 5, 2024
2 checks passed
@dbarkowsky dbarkowsky deleted the PIMS-621-react-app-linting-workflow branch January 5, 2024 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants