12
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-05-18 05:41:53 +00:00

even more tweaks cjs->esm

This commit is contained in:
Leif Ødegård Uhlen 2026-05-05 11:36:58 +02:00
parent 4af0103c5e
commit 48f96baaf9

View file

@ -1,7 +1,7 @@
import path, {dirname} from 'path';
import path, { dirname } from 'path';
import { fileURLToPath } from 'url';
import * as core from '@actions/core';
import outputs from './outputs.json';
import outputs from './outputs.json' with { type: 'json' };
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@ -16,6 +16,4 @@ export default async () => {
core.debug('action_workspace: ' + path.resolve(__dirname, '..'));
core.debug('process.cwd: ' + process.cwd());
return Promise.resolve();
};