Skip to content

chore(deps): 🔧 Keep setup-node v7 compatible with Yarn and OIDC - #65

Merged
haskou merged 1 commit into
masterfrom
chore/setup-node-oidc
Sep 5, 2026
Merged

haskou merged 1 commit into
masterfrom
chore/setup-node-oidc

Conversation

@haskou

@haskou haskou commented Sep 5, 2026

Copy link
Copy Markdown
Owner

After upgrading to actions/setup-node@v7, the publish job fails during yarn cache dir: Failed to replace env in config: ${NODE_AUTH_TOKEN}. The action no longer supplies a dummy token, but registry-url still creates a token-based .npmrc that Yarn Classic cannot read without that variable.

Select the same public npm registry with NPM_CONFIG_REGISTRY instead. Keep the existing OIDC permissions and trusted publisher; no npm token is required or added.

Validation: reproduced the exact Yarn error using a temporary token-placeholder .npmrc, then verified the cache command succeeds without that authentication entry. Release workflow regression tests and git diff --check pass. This maintenance PR does not publish a new package version.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-05T20:59:17.380174Z c38cb3f PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Sep 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@haskou
haskou merged commit 4c1c971 into master Sep 5, 2026
3 checks passed
@haskou
haskou deleted the chore/setup-node-oidc branch September 6, 2026 20:08
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