Skip to content

Update node.js.yml#176

Closed
eranfireblocks wants to merge 1 commit intomasterfrom
eranfireblocks-patch-1
Closed

Update node.js.yml#176
eranfireblocks wants to merge 1 commit intomasterfrom
eranfireblocks-patch-1

Conversation

@eranfireblocks
Copy link
Copy Markdown
Collaborator

No description provided.

Signed-off-by: eranfireblocks <108397990+eranfireblocks@users.noreply.github.com>
Copilot AI review requested due to automatic review settings March 26, 2026 13:46
@github-actions
Copy link
Copy Markdown
Contributor

Your request is important to us. We will look into it shortly. (Note that this SDK code is auto generated)

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the Node.js CI workflow to change how npm is installed in the build matrix, aiming to keep CI running across Node/npm combinations.

Changes:

  • Add --force to the step that installs a matrix-selected npm version globally.
  • Minor workflow step diff normalization (no functional change besides the npm install flag).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


- name: Install npm ${{ matrix.npm-version }}
run: npm install -g npm@^${{ matrix.npm-version }}
run: npm install -g npm@^${{ matrix.npm-version }} --force
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding --force to the global npm install disables npm’s safety checks and can mask an unsupported Node↔npm combination (or other real install issues), making CI results less meaningful. Prefer adjusting the matrix to only run supported Node/npm pairs (via strategy.matrix.include/exclude) or pinning to a compatible npm version, and keep the install without --force so incompatibilities fail loudly.

Suggested change
run: npm install -g npm@^${{ matrix.npm-version }} --force
run: npm install -g npm@^${{ matrix.npm-version }}

Copilot uses AI. Check for mistakes.
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