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
Improving GH Action CI: build, lint, test #260
Comments
I think it's OK to run all the tests for all of the packages since a PR may include interdependent modifications over several packages.
I don't think "build" is going to give us anything actionable or useful during CI. Maybe when we're using Typescript? |
re: Modified packages re: Build |
Current GH Action has been working well with no complaints or experience with tediously long run time. GH Action cache capability hasn’t budged and the only PR addressing multi-path caching was deemed unviable. There’s a separate Issue already for monitoring build size, which is likely the only remaining prioity here. Closing. |
Currently we are using GH Actions for CI, however, GH Actions are early and don’t support our setup (lerna and yarn workspaces for the CRA app). It might be best to move the redwoodjs/redwood CI to something like CircleCI as our needs continue to grow.
Caching
Ideally
node_modules
would be cached for root and each package (currently managed by lerna) using GH Actions Cache. See also how to cache dependencies.This is not yet possible. Related:
paths
input to support multiple cache paths actions/cache#180Run only on “changed” packages
lerna changed
to build+test against modified packages only (need to choose what our reference will be… last npm release is more than needed but might be good enough first step. Ideally just new commits.)Other Actions to consider adding
packages.json
Could possibly go as far as creating a new release ofcreate-redwood-app
(but don’t forget about needed to check for updates toyarn.lock
)The text was updated successfully, but these errors were encountered: