Skip to content

Bump actions/setup-node from 6 to 7 - #1885

Merged
pmckinney-codat merged 1 commit into
mainfrom
chore/bump-setup-node-7
Aug 17, 2026
Merged

Bump actions/setup-node from 6 to 7#1885
pmckinney-codat merged 1 commit into
mainfrom
chore/bump-setup-node-7

Conversation

@pmckinney-codat

Copy link
Copy Markdown
Collaborator

Recreates #1876 on an in-repo branch so CI can actually authenticate.

Why #1876 can't pass

Dependabot-triggered runs resolve secrets.* from the Dependabot secret store, not the Actions store. ADO_NPM_FEED_TOKEN isn't reaching the runner from there, so the auth step wrote a blank _password into ~/.npmrc and every job running npm ci died with:

npm error code E401
npm error Unable to authenticate, your authentication token seems to be invalid.

The repo .npmrc sets registry= to the codat-npm ADO feed for all packages, so a missing credential breaks the entire install rather than just @codat/sdk-link-types. spell-check was the only green check because it does npm install -g cspell from public npmjs and never touches the feed.

Confirmed by rerunning #1876's failed jobs today — still E401, still actor=dependabot[bot].

The bump is sound

On #1876's branch the Setup Node.js step (i.e. setup-node@v7) succeeded, npm cache included; only the following install step failed. This branch carries the identical 5-line change, off current main.

Still outstanding

This unblocks the bump but not the cause — the Dependabot copy of ADO_NPM_FEED_TOKEN needs setting to the current base64 value, or the next Dependabot PR here fails the same way.

Closes #1876.

— Raised by Claude on Phil's behalf

Recreates dependabot PR #1876 on an in-repo branch.

Dependabot-triggered runs resolve secrets from the Dependabot secret
store rather than the Actions store, so secrets.ADO_NPM_FEED_TOKEN came
through empty and every job running `npm ci` failed with npm E401. The
repo .npmrc points `registry=` at the codat-npm ADO feed, so a missing
credential breaks the whole install, not just @codat/sdk-link-types.

setup-node@v7 itself is fine — it ran green on the dependabot branch;
only the subsequent install step failed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Link check results:

[]

@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-17 11:21 UTC

@pmckinney-codat
pmckinney-codat merged commit 654f4ab into main Aug 17, 2026
5 checks passed
@pmckinney-codat
pmckinney-codat deleted the chore/bump-setup-node-7 branch August 17, 2026 11:21
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