mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2026-05-14 04:20:33 +00:00
more fixes migrating from cjs to esm
This commit is contained in:
parent
19e26b4d5c
commit
24c733a28f
1 changed files with 5 additions and 1 deletions
6
index.js
6
index.js
|
|
@ -1,5 +1,9 @@
|
|||
import exec from './src/_exec.js';
|
||||
import path from 'path';
|
||||
import {dirname, path} from 'path';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const run = async () => {
|
||||
// Install Dependencies
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue