mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-05-14 12:30:32 +00:00
more fixes cjs->esm
This commit is contained in:
parent
9efd3dd5aa
commit
ca92529945
5 changed files with 17 additions and 5 deletions
|
|
@ -1,7 +1,11 @@
|
|||
import path from 'path';
|
||||
import path, {dirname} from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
import * as core from '@actions/core';
|
||||
import exec from './_exec';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
/**
|
||||
* Pre-install extra dependecies
|
||||
* @returns {Promise<void>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue