mirror of
https://github.com/actions/javascript-action.git
synced 2025-12-14 04:53:15 +00:00
Convert to ESM
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
/**
|
||||
* The entrypoint for the action.
|
||||
* The entrypoint for the action. This file simply imports and runs the action's
|
||||
* main logic.
|
||||
*/
|
||||
const { run } = require('./main')
|
||||
import { run } from './main.js'
|
||||
|
||||
/* istanbul ignore next */
|
||||
run()
|
||||
|
||||
Reference in New Issue
Block a user