Skip to content

Replace "npm install" with "npm ci"#997

Merged
saeedvaziry merged 1 commit intovitodeploy:3.xfrom
SamuelNitsche:fix-deployment-scripts
Jan 20, 2026
Merged

Replace "npm install" with "npm ci"#997
saeedvaziry merged 1 commit intovitodeploy:3.xfrom
SamuelNitsche:fix-deployment-scripts

Conversation

@SamuelNitsche
Copy link
Copy Markdown
Contributor

Running "npm install" can lead to unexpected errors since it can in some cases write to the package-lock.json. This, in turn, can lead to failed deployments since there are local changes

CleanShot 2026-01-19 at 17 05 17

The npm docs itself recommend running npm ci in deployments:
https://docs.npmjs.com/cli/v11/commands/npm-ci

While this could be a breaking change I would say that's a bugfix, that's why I am targeting the 3.x branch.

@saeedvaziry saeedvaziry merged commit 3d95b68 into vitodeploy:3.x Jan 20, 2026
@SamuelNitsche SamuelNitsche deleted the fix-deployment-scripts branch January 21, 2026 14:18
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