ci: combine lint tasks #126
Loading…
Reference in a new issue
No description provided.
Delete branch "ci/combine-lints"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This allows for per-package lints to not require separate
yarn install
steps.
The use of
status: [ success, failure ]
ensures that each step can runeven if the previous one failed.
Resolves #123
A potentially better approach would be to cache yarn's cache dir + node_modules. That way we could have separate lints per thing (making them more useful) but not incur the perf penalty.
9653be8922
tob9d209be2a
How would that be done?
Even if the other lints are run on failure of previous lints, it would be nice to have separate indicators for each of the lints. Because seeing which of the lints failed was the reason to separate them in the first place. This kinda makes it difficult if you have to scroll through all the existing lints to see if another module has new ones.
Ideally we would have a kind of "forking" workflow but I think I asked & searched for that before and it does not seem to be possible.
Closing this as this doesn't seem to be the approach we'd want to take. Discussion is being continued in #123.
Pull request closed