Skip to content

ci: bump Node to 22#14

Merged
0ptaq0 merged 1 commit into
mainfrom
ci/bump-node-22
Jul 6, 2026
Merged

ci: bump Node to 22#14
0ptaq0 merged 1 commit into
mainfrom
ci/bump-node-22

Conversation

@0ptaq0

@0ptaq0 0ptaq0 commented Jul 6, 2026

Copy link
Copy Markdown
Member

Bumps the CI node-version from 20 to 22.

apex-code-coverage-transformer 2.23.1+ requires Node >=22 (uses webidl.util.markAsUncloneable, a Node 22 API). The plugin runs under the sf CLI, installed via npm install @salesforce/cli --global, so it executes on the workflow's Node. On Node 20 the Convert Apex coverage to LCOV step crashes with TypeError: webidl.util.markAsUncloneable is not a function.

Matches the reusable workflow's default (node-version: '22').

Align with the reusable workflow default. apex-code-coverage-transformer
2.23.1+ requires Node >=22, and the sf CLI (installed via npm global)
runs on the workflow Node, so the coverage step needs Node 22.
@vercel

vercel Bot commented Jul 6, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
apex-consts Ready Ready Preview, Comment Jul 6, 2026 2:30pm

Request Review

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🧪 Apex Test Results

✅ All Tests Passed

==========================================
     APEX TEST EXECUTION SUMMARY
==========================================

📊 Total Tests: 4
✅ Passed: 4
❌ Failed: 0
⏭️  Skipped: 0


🎉 All tests passed successfully!

📦 Download Full Test Results & Logs


📊 Stats: 4 total | ✅ 4 passed | ❌ 0 failed
🤖 Automated comment by Salesforce CI

@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7e48c02) to head (6f4f0c4).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines           78        78           
=========================================
  Hits            78        78           
Flag Coverage Δ
Apex 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@0ptaq0 0ptaq0 merged commit 522356b into main Jul 6, 2026
5 checks passed
@0ptaq0 0ptaq0 deleted the ci/bump-node-22 branch July 6, 2026 14:49
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.

1 participant