Skip to content

Commit

Permalink
fix: tryfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganitzsh committed Nov 15, 2023
1 parent 7f5d98e commit b94c2e4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion bootstrap.mjs
Original file line number Diff line number Diff line change
@@ -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',
},
Expand Down

0 comments on commit b94c2e4

Please sign in to comment.