From e6b45e828c0671a20c2ed5db3592a34d0fc4795b Mon Sep 17 00:00:00 2001 From: Jill Regan Date: Tue, 24 Feb 2026 10:44:26 -0500 Subject: [PATCH] remove require statement --- configure/dist/package.json | 2 +- configure/index.js | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configure/dist/package.json b/configure/dist/package.json index 5bbefff..3dbc1ca 100644 --- a/configure/dist/package.json +++ b/configure/dist/package.json @@ -1,3 +1,3 @@ { - "type": "commonjs" + "type": "module" } diff --git a/configure/index.js b/configure/index.js index 5f3485d..20e2b8d 100644 --- a/configure/index.js +++ b/configure/index.js @@ -1,4 +1,4 @@ -const core = require("@actions/core"); +import * as core from "@actions/core"; const configure = () => { const OP_CONNECT_HOST = diff --git a/package.json b/package.json index 60512cd..ff3edae 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ }, "scripts": { "build": "ncc build ./src/index.ts", - "build:configure": "ncc build ./configure/index.js -o ./configure/dist -e @actions/core", + "build:configure": "ncc build ./configure/index.js -o ./configure/dist", "build:all": "npm run build && npm run build:configure", "format": "prettier --ignore-path ./config/.prettierignore", "format:check": "npm run format -- --check ./",