12
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-05-14 20:40:32 +00:00

more fixes cjs->esm

This commit is contained in:
Leif Ødegård Uhlen 2026-05-05 11:07:57 +02:00
parent eb08b6d904
commit b71c53a4f8
4 changed files with 5 additions and 4 deletions

View file

@ -17,7 +17,8 @@ const run = async () => {
}
}
await import('./src/index.js')();
const mod = await import('./src/index.js');
await mod.default();
};
run().catch(console.error);

View file

@ -1,6 +1,6 @@
import * as core from '@actions/core';
import stringToJson from '@cycjimmy/awesome-js-funcs/cjs/typeConversion/stringToJson.cjs';
import inputs from './inputs.json';
import inputs from './inputs.json' with { type: 'json' };;
/**
* Handle Branches Option

View file

@ -12,7 +12,7 @@ import installSpecifyingVersionSemantic from './installSpecifyingVersionSemantic
import preInstall from './preInstall.task';
import cleanupNpmrc from './cleanupNpmrc.task';
import windUpJob from './windUpJob.task';
import inputs from './inputs.json';
import inputs from './inputs.json' with { type: 'json' };;
/**
* Release main task

View file

@ -1,6 +1,6 @@
import * as core from '@actions/core';
import exec from './_exec';
import inputs from './inputs.json';
import inputs from './inputs.json' with { type: 'json' };;
import path, {dirname} from 'path';
import { fileURLToPath } from 'url';