Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions __tests__/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { cwd, env, execPath } from "process"

test("dry runner with env/stdout protocol", async () => {
const templateKeysPath = join(cwd(), "keys.template.json")
const ip = join(cwd(), "lib", "main.js")
const ip = join(cwd(), "dist", "index.cjs")
const templateKeys = await readFile(templateKeysPath, "utf8")

env["INPUT_KEYS"] = templateKeys
Expand All @@ -16,5 +16,5 @@ test("dry runner with env/stdout protocol", async () => {
env
}

console.log(execFileSync(execPath, [ip], options).toString())
console.log(execFileSync(execPath, [ip], options).toString("utf-8"))
})
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ inputs:
description: "The plugin zip artifact to be published."
runs:
using: "node16"
main: "dist/index.js"
main: "dist/index.mjs"
Loading