Skip to content

Use npm install in verify-no-snapshot-versions test workflow#3

Merged
ryanjbaxter merged 1 commit into
mainfrom
fix-verify-no-snapshot-versions-npm-install
Jul 20, 2026
Merged

Use npm install in verify-no-snapshot-versions test workflow#3
ryanjbaxter merged 1 commit into
mainfrom
fix-verify-no-snapshot-versions-npm-install

Conversation

@ryanjbaxter

Copy link
Copy Markdown
Contributor

test-verify-no-snapshot-versions.yml ran npm ci, which requires a committed package-lock.json. Lock files are gitignored across this repo (.gitignore has an unscoped package-lock.json entry), so npm ci fails with:

npm error code EUSAGE
npm error The `npm ci` command can only install with an existing package-lock.json ...

This switches both npm ci calls to npm install, matching every other action test workflow in the repo (test-extract-bom-versions, test-update-project-versions, etc.).

Failing run: https://github.com/spring-cloud/spring-cloud-github-actions/actions/runs/29770906179

The workflow ran npm ci, which requires a committed package-lock.json.
Lock files are gitignored across this repo, so npm ci fails with EUSAGE
(no package-lock.json). Switch to npm install to match every other action
test workflow (extract-bom-versions, update-project-versions, etc.).

Signed-off-by: Ryan Baxter <rbaxter85@gmail.com>
@ryanjbaxter
ryanjbaxter merged commit 3c9f21a into main Jul 20, 2026
9 checks passed
@ryanjbaxter
ryanjbaxter deleted the fix-verify-no-snapshot-versions-npm-install branch July 20, 2026 19:25
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