-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[Hold] Add 'rwjs/redwood' Repo CI via GH Actions: Build, Lint, and Jest #110
Conversation
Whelp... it's a start I guess. TBD |
In future, will need to implement caching to improve performance:
Ran into issues with GH Action caching not yet possible with yarn v1 workspaces. Conceivably could config the Action to run individually on each package (check cache, install, build, test), but that seems like a pain for now. Related:
|
Aside from the fact the few test we have are failing 😉, this is now working for tests on Node 10 latest (Dubnium) and Node 12 latest (Erbium). For both environments, the action runs It’s slow without caching. And without test coverage might not be all that useful yet. But ready to go when we are. If we do decide to merge, we should:
|
Notes for possible improvements:
Another Action workflow we might get easily is opening a PR for all our other projects needing to update package versions. |
@peterp Take a look at the build errors I’m now getting running against latest |
b779e5d
to
236f06b
Compare
Fixed an error caused by directory name mismatch between uppercase Builds are now passing. Added Linting. Linting and Jest are running but failing. |
I took a look at tleunen/eslint-import-resolver-babel-module#34 which basically says the warning/error is just a wrapper around Babel do indicate something went wrong with the Babel config. In our case the error |
I personally don't like using snake_case file naming conventions in javascript projects. The reason for this is that we don't generally name our variables or functions in snake case and I try to name the file the same as the main exported function. The way that I change cases with git is to use two commits. git mv Generate xGenerate
git commit -am 'Renaming Generate -> generate part 1.'
git mv xGenerate generate
git commit -am 'Renaming Generate -> generate part 2.' I think we should open this for discussion and figure out what standard we would like to apply to the project as a whole. |
closing this in favor of #257 Will be creating separate issues for:
|
Closes #105