-
Notifications
You must be signed in to change notification settings - Fork 13
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
hoc2023: initial work #646
Conversation
Though canvas removed due to difficulties building in my env.
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.
This looks great!
Targeting a version of Ubuntu greater than 18 makes sense to me; we're planning to update our main repo to 20 soon enough, and I think testing against 22 should be just fine.
- name: Build | ||
run: npm run build | ||
run: yarn run 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.
Nit; I believe you can omit run
from yarn
commands; ie, yarn dev
rather than yarn run dev
. yarn run
still works, though!
This change updates the
dance-party
repo to build with the same key tooling as our main repo. In particular, it now builds withnode
version18.16.0
, usesyarn
instead ofnpm
, and useswebpack
version5
.I believe that for Ubuntu builds, tests requires Ubuntu 20.04 or later, rather than 18.04 (which our main repo's drone docker image still uses), because the
canvas
component requires GLIBC 2.28 or later, and Ubuntu 18.04 only has GLIBC 2.27. The GitHub Actions used to test PRs in this repo currently get Ubuntu 22.04.The trickiest part of this change was getting the
test:integration
component of the tests running again. It uses Karma, which is now deprecated, but is at least now at the latest version. A number of tricks were needed to make it work again with all of these latest versions. I took a cursory look at a couple alternatives, but Karma offered the convenience of preprocessing withwebpack
, invocation of headless chrome, and does still work.