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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .licenses/npm/@actions/cache.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .licenses/npm/@actions/core.dep.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions fetch.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const core = require("@actions/core");
const { execSync } = require("child_process");
const cache = require("@actions/cache");
const { parseBooleanInput, buildBaseConfig } = require("./utils");
import * as core from "@actions/core";
import { execSync } from "child_process";
import * as cache from "@actions/cache";
import { parseBooleanInput, buildBaseConfig } from "./utils.js";
Comment on lines +1 to +4
Copy link

Copilot AI Mar 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These ESM import statements will throw a syntax/runtime error if fetch.js is still executed as CommonJS (e.g., no \"type\": \"module\" in package.json, or if the runtime expects CJS entrypoints). Ensure the action/package runtime explicitly runs this file as ESM (e.g., set \"type\": \"module\", rename to .mjs and update references, or add a build step that outputs CJS).

Suggested change
import * as core from "@actions/core";
import { execSync } from "child_process";
import * as cache from "@actions/cache";
import { parseBooleanInput, buildBaseConfig } from "./utils.js";
const core = require("@actions/core");
const { execSync } = require("child_process");
const cache = require("@actions/cache");
const { parseBooleanInput, buildBaseConfig } = require("./utils.js");

Copilot uses AI. Check for mistakes.

async function fetchCache() {
try {
Expand Down
1 change: 0 additions & 1 deletion node_modules/.bin/protoc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/protoc-gen-dump

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/protoc-gen-ts

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsc

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/tsserver

This file was deleted.

1 change: 0 additions & 1 deletion node_modules/.bin/uuid

This file was deleted.

Loading
Loading