Skip to content

Pin Node 22 in deploy-to-artifacts build job to prevent npm ci failure - #3100

Open
aleks-pro with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-build-job
Open

Pin Node 22 in deploy-to-artifacts build job to prevent npm ci failure#3100
aleks-pro with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-github-actions-build-job

Conversation

Copilot AI commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

The Deploy To Artifacts workflow’s build job failed (job 98876758691) during npm ci after GitHub Actions runner defaults shifted to Node 24. This PR stabilizes the job by explicitly setting the Node runtime used for packaging.

  • Root cause addressed

    • build depended on runner-default Node version, which changed and caused npm ci to fail with an npm internal exit-handler error.
  • Workflow change (minimal scope)

    • Updated .github/workflows/deploy-to-artifacts.yml in jobs.build.steps.
    • Added actions/setup-node@v4 with node-version: 22 before install/build/package commands.
  • Effective behavior

    • npm ci, gulp build, and npm pack now run on a pinned Node version rather than mutable runner defaults.
- uses: actions/setup-node@v4
  with:
    node-version: 22

Co-authored-by: aleks-pro <14822473+aleks-pro@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job build Pin Node 22 in deploy-to-artifacts build job to prevent npm ci failure Aug 31, 2026
Copilot AI requested a review from aleks-pro August 31, 2026 07:28
@aleks-pro
aleks-pro marked this pull request as ready for review August 31, 2026 14:14
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