From 1e23ed535d2782240f2fdcb82e6558bdc0cb717a Mon Sep 17 00:00:00 2001 From: pact-dev Date: Thu, 24 Oct 2024 13:40:22 +0000 Subject: [PATCH 1/2] fix: update standalone to 2.4.16 --- standalone/install.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/standalone/install.ts b/standalone/install.ts index 502683d..b94ecd3 100644 --- a/standalone/install.ts +++ b/standalone/install.ts @@ -1,7 +1,7 @@ import chalk = require('chalk'); // Get latest version from https://github.com/pact-foundation/pact-ruby-standalone/releases -export const PACT_STANDALONE_VERSION = '2.4.15'; +export const PACT_STANDALONE_VERSION = '2.4.16'; function makeError(msg: string): Error { return new Error(chalk.red(`Error while locating pact binary: ${msg}`)); From 4b789e480d508ca5141fd568119265489e168cf2 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 24 Oct 2024 21:04:36 +0100 Subject: [PATCH 2/2] chore: try npm install if npm ci fails --- script/ci/build-and-test.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/script/ci/build-and-test.sh b/script/ci/build-and-test.sh index 0b4ff6f..3c0fdb1 100755 --- a/script/ci/build-and-test.sh +++ b/script/ci/build-and-test.sh @@ -20,7 +20,10 @@ fi node --version npm --version -npm ci +# our lock file may be out of sync post npm release, as it has not been updated post release +# of the optional depedencies with the path to the npm packages. We should probably commit these +# back after releasing the package +npm ci || npm i # Update main package.json optional dependencies versions, with those created earlier make update_opt_deps # update lockfile post buildling updated opt deps