-
Notifications
You must be signed in to change notification settings - Fork 825
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 lint in cb #13077
ci: add lint in cb #13077
Conversation
- identifier: lint | ||
buildspec: codebuild_specs/lint.yml | ||
env: | ||
compute-type: BUILD_GENERAL1_LARGE |
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.
can you add to the other workflows
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.
This one is needed only in PR builds see
amplify-cli/.circleci/config.base.yml
Lines 1064 to 1068 in 392f0e2
ignore: | |
- beta | |
- release | |
- /release_rc\/.*/ | |
- /run-e2e\/.*/ |
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.
but it's included in dev
build... so maybe it's worth adding.
codebuild_specs/lint.yml
Outdated
@@ -1,9 +1,12 @@ | |||
version: 0.2 | |||
env: | |||
shell: bash | |||
variables: | |||
NODE_OPTIONS: --max-old-space-size=5120 |
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.
good catch
Description of changes
Add missing linter step.
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.