-
Notifications
You must be signed in to change notification settings - Fork 81
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: move lint out of build #1255
Conversation
paths: | ||
- ./ |
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.
just remove a warning from the json schema
lint-package-json: | ||
paths: | ||
- ./ | ||
lint: |
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.
rename job to match what it does
- run: | ||
name: Verify format | ||
command: yarn format:check | ||
- run: | ||
name: Verify lint | ||
command: yarn lint:check |
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.
main change
@@ -659,44 +660,48 @@ workflows: | |||
# Publish the code coverage | |||
- publish-coverage: | |||
requires: | |||
- test-request-client | |||
- lint |
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.
add lint, integration-test and smart-contracts which were missing
sort all tests
- lint-package-json: | ||
requires: | ||
- build |
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.
unnecessary in nighly build
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.
LGTM. Thanks for the excellent comments 👍
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.
👍
the format & lint takes about a minute. It shouldn't be part of the
build
stage, but in a separatelint
stage (together with package.json lint)