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

ci: lint on push to prevent code style issues #454

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

hamirmahal
Copy link
Contributor

fixes #453.

@hamirmahal hamirmahal force-pushed the ci/npm-run-lint-on-push-to-help-prevent-codebase-regressions branch from 2d5ff0c to ce776f1 Compare October 23, 2024 22:50
steps:
- uses: actions/checkout@v4
- run: npm ci
- run: npm run lint
Copy link
Member

Choose a reason for hiding this comment

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

this is already run as part of npm test:

"test": "npm run lint && npm run unit-test",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah, I missed that. Do you want to remove npm run lint from the test script? I think it's a bit unexpected.

Feel free to close this pull request if there are no changes here that you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Codebase has npm run lint script, but it doesn't run on pushes or pull requests
2 participants