remove require statement

This commit is contained in:
Jill Regan
2026-02-24 10:44:26 -05:00
parent 639ddd6614
commit e6b45e828c
3 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
{ {
"type": "commonjs" "type": "module"
} }

View File

@@ -1,4 +1,4 @@
const core = require("@actions/core"); import * as core from "@actions/core";
const configure = () => { const configure = () => {
const OP_CONNECT_HOST = const OP_CONNECT_HOST =

View File

@@ -8,7 +8,7 @@
}, },
"scripts": { "scripts": {
"build": "ncc build ./src/index.ts", "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", "build:all": "npm run build && npm run build:configure",
"format": "prettier --ignore-path ./config/.prettierignore", "format": "prettier --ignore-path ./config/.prettierignore",
"format:check": "npm run format -- --check ./", "format:check": "npm run format -- --check ./",