Skip to content

Fix release job failure caused by removed npm CLI flag - #1175

Merged
Elizabeth Craig (ecraig12345) merged 3 commits into
mainfrom
copilot/fix-release-job-failure
Jul 9, 2026
Merged

Fix release job failure caused by removed npm CLI flag#1175
Elizabeth Craig (ecraig12345) merged 3 commits into
mainfrom
copilot/fix-release-job-failure

Conversation

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

The release GitHub Actions job was failing under npm@latest because a backfill audit test still passed the removed --scripts-prepend-node-path flag. This updates the test command to use npm-compatible invocations that work with current npm releases.

  • Root cause

    • packages/backfill/src/__tests__/audit.test.ts used:
      npm run compile --scripts-prepend-node-path && npm run side-effect --scripts-prepend-node-path
    • npm@latest now rejects that flag with EUNKNOWNCONFIG, which breaks the release workflow environment.
  • Change

    • Remove the deprecated flag from the audit test command while preserving the same behavior:
      "npm run compile && npm run side-effect"
  • Effect

    • Keeps the backfill audit coverage intact.
    • Aligns the test with the npm version installed by the release workflow.
- "npm run compile --scripts-prepend-node-path && npm run side-effect --scripts-prepend-node-path"
+ "npm run compile && npm run side-effect"

Copilot AI changed the title [WIP] Fix failing GitHub Actions job release Fix release job failure caused by removed npm CLI flag Jul 9, 2026
@ecraig12345
Elizabeth Craig (ecraig12345) marked this pull request as ready for review July 9, 2026 06:54
@ecraig12345

Copy link
Copy Markdown
Member

Copilot run yarn format at the repo root and commit the changes

Copilot AI commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Copilot run yarn format at the repo root and commit the changes

Done in 96979fa.

@ecraig12345
Elizabeth Craig (ecraig12345) merged commit bd01773 into main Jul 9, 2026
14 checks passed
@ecraig12345
Elizabeth Craig (ecraig12345) deleted the copilot/fix-release-job-failure branch July 9, 2026 08: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