diff --git a/packages/bpp/src/main.ts b/packages/bpp/src/main.ts index 44e8c7c..6060b75 100644 --- a/packages/bpp/src/main.ts +++ b/packages/bpp/src/main.ts @@ -1,17 +1,18 @@ import { debug, getInput, info, setFailed, warning } from "@actions/core" + import { BrowserName, + submitChrome, + submitEdge, + submitFirefox, + submitItero, + supportedBrowserSet, type ChromeOptions, type CommonOptions, type EdgeOptions, type FirefoxOptions, type IteroOptions, - type OperaOptions, - submitChrome, - submitEdge, - submitFirefox, - submitItero, - supportedBrowserSet + type OperaOptions } from "@plasmohq/bms" type Keys = { @@ -37,7 +38,8 @@ async function run(): Promise { // Path to the zip file to be deployed const artifact = getInput("file") || getInput("zip") || getInput("artifact") // Path to the source zip file for firefox submissions - const source = getInput("source") || getInput("sourceFile") || getInput("sourceZip") + const source = + getInput("source") || getInput("sourceFile") || getInput("sourceZip") const versionFile = getInput("version-file") diff --git a/packages/bpp/tests/main.test.ts b/packages/bpp/tests/main.test.ts index 44558bd..53a59a8 100644 --- a/packages/bpp/tests/main.test.ts +++ b/packages/bpp/tests/main.test.ts @@ -1,8 +1,8 @@ -import { expect, test } from "@jest/globals" -import { type ExecFileSyncOptions, execFileSync } from "child_process" +import { execFileSync, type ExecFileSyncOptions } from "child_process" import { readFile } from "fs/promises" import { resolve } from "path" import { cwd, env, execPath } from "process" +import { expect, test } from "@jest/globals" const indexScript = resolve(cwd(), "dist", "index.js")