You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Node 18 Migration (enables corepack + yarn 4):
- Update Dockerfile: node:16-alpine -> node:18-alpine
- Update workflows: node-version [16.x] -> [18.x]
- Restore corepack enable in all jobs
- Re-add cache: 'yarn' for faster CI builds
Breaking Dependency Fixes:
- Replace bcrypt-nodejs@0.0.3 with bcryptjs@2.4.3
(bcrypt-nodejs abandoned 2014, won't compile on modern Node)
- Fix deprecated new Buffer() -> Buffer.from() in auth.js
- Updated related imports in auth.test.js
Additional Changes:
- Remove --immutable-cache flag (not needed for node-modules linker)
- Regenerated yarn.lock with new dependencies
- All 643 tests passing
- Docker build verified
This unblocks the deployment pipeline which was failing due to:
1. Node 16 incompatibility with corepack (missing URL.canParse)
2. npm install -g yarn@4.12.0 not working (Yarn 4 not on npm registry)
0 commit comments