Skip to content

Commit 4ec65be

Browse files
committed
update
1 parent 0ab9a5b commit 4ec65be

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

packages/cli/index.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import { isBinaryFile } from "isbinaryfile";
2121
import { writePackageJSON, type PackageJson } from "pkg-types";
2222
import pkg from "./package.json" with { type: "json" };
2323
import { createDefaultTemplate } from "./template";
24+
import * as core from "@actions/core";
2425

2526
declare global {
2627
const API_URL: string;
@@ -516,6 +517,14 @@ const main = defineCommand({
516517
`publishing failed: ${await res.text()}`,
517518
);
518519

520+
const debug = laterRes.debug;
521+
core.startGroup("🔍 Backend Debug Information");
522+
core.debug(`workflowData: ${JSON.stringify(debug.workflowData, null, 2)}`);
523+
core.debug(`key: ${debug.key}`);
524+
core.debug(`runId: ${debug.runId}`);
525+
core.debug(`isPullRequest: ${debug.isPullRequest}`);
526+
core.endGroup();
527+
519528
console.warn("\n");
520529
console.warn("⚡️ Your npm packages are published.\n");
521530

packages/cli/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"author": "",
2222
"license": "MIT",
2323
"dependencies": {
24+
"@actions/core": "^1.11.1",
2425
"@jsdevtools/ez-spawn": "^3.0.4",
2526
"@octokit/action": "^6.1.0",
2627
"ignore": "^5.3.1",

pnpm-lock.yaml

Lines changed: 37 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)