-
Notifications
You must be signed in to change notification settings - Fork 211
Node.js 18, pnpm 8, jest 29, linting/formatting updates, and webpack fixes #4462
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
Conversation
Need to check whether we can upgrade |
cf8f431
to
d4b7f6c
Compare
7edf4e8
to
c52f2a9
Compare
509d739
to
58a0221
Compare
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.
I have reviewed all the commits that it would be safe to do so/that I haven't already reviewed. One possible issue in the flake.nix file, but it already seems to be non-functional, so I am not sure we actually need to block this PR for it.
build_assets: | ||
name: Build frontend assets | ||
needs: pre_job | ||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Use pnpm |
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.
I was a little surprised that this comes before the Node setup, but not so surprised that I care to understand why it is suggested to be this way in the documentation!
I got a bit over eager - going to manually test the pnpm workflow first!
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.
Manual testing of the switchover to pnpm (using volta) shows no issues, absolutely seamless.
Summary
Description of the change(s) you made
pnpm run lint-frontend:format
Manual verification steps performed
pnpm run test-jest
pnpm run devserver:hot
References
Requires: learningequality/kolibri#12052
Comments