From 05ea195ebdbba169be02f0b4a4e91845be873b85 Mon Sep 17 00:00:00 2001 From: Tom de Bruijn Date: Wed, 27 Aug 2025 09:13:31 +0200 Subject: [PATCH] Fix package version in lock file on publish After we publish a new version of the package, the `package-lock.json` file is always out-of-sync, containing the old version number of the package until `npm install` is run. Run `npm install` before the Git commit step so that the lock file is updated with the latest version. --- mono.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mono.yml b/mono.yml index 085b8481..05fc7901 100644 --- a/mono.yml +++ b/mono.yml @@ -2,3 +2,5 @@ language: nodejs repo: "https://github.com/appsignal/appsignal-nodejs" npm_client: "npm" +git-commit: + pre: "npm install"