Skip to content

fix(ci): restore git state after npm ci before npm version#31

Merged
crisanlucid merged 1 commit into
mainfrom
fix/npm-ci-peer-deps
May 11, 2026
Merged

fix(ci): restore git state after npm ci before npm version#31
crisanlucid merged 1 commit into
mainfrom
fix/npm-ci-peer-deps

Conversation

@crisanlucid

Copy link
Copy Markdown
Owner

npm ci can normalize package-lock.json leaving the working tree dirty, which causes npm version to abort with "Git working directory not clean". Run git restore . after install to discard any such changes.

npm ci can normalize package-lock.json leaving the working tree dirty,
which causes `npm version` to abort with "Git working directory not
clean". Run `git restore .` after install to discard any such changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@crisanlucid crisanlucid merged commit f3b19db into main May 11, 2026
2 checks passed
@crisanlucid crisanlucid deleted the fix/npm-ci-peer-deps branch May 11, 2026 19:54
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