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 63081eb commit 655a578
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions bootstrap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@ import { execSync } from 'child_process';

try {
const __dirname = new URL('.', import.meta.url).pathname;
execSync('npm ci --omit=dev --no-audit --no-progress --prefer-offline', {
stdio: 'inherit',
cwd: __dirname,
});
execSync(
'npm install semantic-release --omit=dev --no-audit --no-progress --prefer-offline',
{
stdio: 'inherit',
cwd: __dirname,
},
);

await import('./dist/index.js');
} catch (err) {
Expand Down

0 comments on commit 655a578

Please sign in to comment.