Update build workflow to use Node 20 for Vite 5 compatibility#456
Merged
Conversation
Agent-Logs-Url: https://github.com/muke1908/chat-e2ee/sessions/e0d6489c-5d3b-4a85-9fee-f4e2d24113f7 Co-authored-by: muke1908 <20297989+muke1908@users.noreply.github.com>
|
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job "build"
Update build workflow to use Node 20 for Vite 5 compatibility
May 19, 2026
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.



The
buildGitHub Actions job was failing because the workflow ran on Node 16 while the client build toolchain (Vite 5) requires Node 18+. This PR updates the workflow runtime and action versions to align CI with current project requirements.Root cause addressed
build-statusworkflow used deprecated action versions andnode-version: 16, causing the client build to fail withcrypto.getRandomValues/engine incompatibility errors.Workflow updates
actions/checkout@v2→actions/checkout@v4actions/setup-node@v1→actions/setup-node@v4node-version: 16→node-version: 20Changed file
.github/workflows/build-status.yml