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 fdea36b commit ed59f3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ outputs:
Released version in format of X.Y.Z (major.minor.patch-prerelease+build).
name: Release me!
runs:
main: bootstrap.mjs
main: dist/index.js
using: node20
pre: bootstrap.mjs
4 changes: 1 addition & 3 deletions bootstrap.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,14 @@ import { execSync } from 'child_process';

try {
const __dirname = new URL('.', import.meta.url).pathname;
console.log('__dirname', __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) {
console.log(err);
}

0 comments on commit ed59f3e

Please sign in to comment.