Repository navigation
chore: upgrade to Node 26 and node24 GitHub Actions - #168
Merged
Merged
Conversation
- Dockerfile: build stages on node:26-alpine3.24, runtime on nasdan/azure-pm2-nginx:nodejs-26-nginx-1.30 - npm ci --only=production -> --omit=dev (npm 11) - CI: checkout@v7 and setup-node@v7 with Node 26.x - CD: checkout@v7 and docker/login-action@v4 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Node 20 is EOL. Moves code-paster to Node 26 LTS and the GitHub Actions to their
node24versions.node:26-alpine3.24; runtime onnasdan/azure-pm2-nginx:nodejs-26-nginx-1.30(Node 26.13, nginx 1.30.6).npm ci --only=production→npm ci --omit=dev(--onlyis deprecated in npm 11).actions/checkout@v7andactions/setup-node@v7with Node26.x(it used the runner's default Node before).actions/checkout@v7,docker/login-action@v4.Tested locally (Node 26.13)
npm run build)./200,/api/create-room200, unknown route 404, HTTP → HTTPS 301, websocket upgrade 101.TRAINER_APPEND_TEXTandTRAINER_SET_FULL_TEXTreach both, and a late student gets the full content from MongoDB.Rollback
ghcr.io/lemoncode/code-paster:dev-d54e9d58064f78b87f4d7d8d3ffc72eaa08840df-1ghcr.io/lemoncode/code-paster:prod-5fd6f8ae5df0def463b0657eee48eae109f906f5-1🤖 Generated with Claude Code