Skip to content

Update build workflow to use Node 20 for Vite 5 compatibility#456

Merged
muke1908 merged 2 commits into
masterfrom
copilot/fix-github-actions-build-job
May 19, 2026
Merged

Update build workflow to use Node 20 for Vite 5 compatibility#456
muke1908 merged 2 commits into
masterfrom
copilot/fix-github-actions-build-job

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 19, 2026

The build GitHub 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-status workflow used deprecated action versions and node-version: 16, causing the client build to fail with crypto.getRandomValues/engine incompatibility errors.
  • Workflow updates

    • Upgraded checkout and Node setup actions:
      • actions/checkout@v2actions/checkout@v4
      • actions/setup-node@v1actions/setup-node@v4
    • Updated runtime:
      • node-version: 16node-version: 20
  • Changed file

    • .github/workflows/build-status.yml
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
  with:
    node-version: 20

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>
@sonarqubecloud
Copy link
Copy Markdown

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
Copilot AI requested a review from muke1908 May 19, 2026 09:06
@muke1908 muke1908 marked this pull request as ready for review May 19, 2026 09:51
@muke1908 muke1908 merged commit 3e298b7 into master May 19, 2026
1 of 3 checks passed
@muke1908 muke1908 deleted the copilot/fix-github-actions-build-job branch May 19, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants