Replies: 1 comment
-
Looks like We should find a way to install dependencies (and automatically build, so that packages that depend on each other's build artifacts will not fail due to build artifacts not existing), while also building selectively using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since the merging of #57 , we now only version and publish packages that have been updated since the last release action.
We could reduce the time taken to run our CI by further analyzing the changed packages, and only building & testing packages that are changed by a pull request. This can be done using the
--since
filter.Here's how this might look:
This works for both
main
branch PRs and feature branches, as the base branch is used as the comparison basis. Only packages that have changed since the last commit on the base branch will be built and tested.This would replace this code, where checks are run on all packages, regardless of what was changed.
ds25/.github/workflows/tag.yml
Lines 47 to 49 in ee6a5ef
It would also require some modification to the environment setup action, which runs
bun install
instead oflerna bootstrap
, causing an installation of dependencies and a build for all packages, instead of strictly necessary packages. That action should have a parameter added to use--ignore-scripts
to avoid running the build script.Beta Was this translation helpful? Give feedback.
All reactions