From b94c2e4598c984d5496e99b34d7e5a195c17ac0b Mon Sep 17 00:00:00 2001 From: Julien Ganichot Date: Wed, 15 Nov 2023 11:00:06 +0100 Subject: [PATCH] fix: tryfix --- bootstrap.mjs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/bootstrap.mjs b/bootstrap.mjs index 93a697993..9d9cc843e 100644 --- a/bootstrap.mjs +++ b/bootstrap.mjs @@ -1,9 +1,22 @@ import { execSync } from 'child_process'; +const dependencies = [ + 'semantic-release', + '@semantic-release/changelog', + '@semantic-release/commit-analyzer', + '@semantic-release/exec', + '@semantic-release/git', + '@semantic-release/github', + '@semantic-release/npm', + '@semantic-release/release-notes-generator', +]; + try { // Install dependencies execSync( - 'npm install semantic-release @semantic-release/changelog @semantic-release/commit-analyzer @semantic-release/exec @semantic-release/git @semantic-release/github @semantic-release/npm @semantic-release/release-notes-generator semantic-release', + `npm ci --omit=dev --no-audit --no-progress --prefer-offline ${dependencies.join( + ' ', + )}`, { stdio: 'inherit', },