Skip to content

Commit

Permalink
test: tryfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ganitzsh committed Nov 15, 2023
1 parent 846cc49 commit 9c01e25
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions bootstrap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,16 @@ import { execSync } from 'child_process';

const __dirname = url.fileURLToPath(new URL('.', import.meta.url));

const actionRoot = pathResolve(__dirname, '../');

execSync(
`npm --prefix ${__dirname} install semantic-release --omit=dev --no-audit --no-progress --prefer-offline`,
`npm --prefix ${actionRoot} install semantic-release --omit=dev --no-audit --no-progress --prefer-offline`,
{
stdio: 'inherit',
cwd: __dirname,
cwd: actionRoot,
env: {
...process.env,
PWD: __dirname,
PWD: actionRoot,
},
},
);

0 comments on commit 9c01e25

Please sign in to comment.