Skip to content

chore: update deps, switch to esm, and improve tsconfig#32

Merged
GeekyEggo merged 3 commits intomainfrom
deps
Mar 12, 2026
Merged

chore: update deps, switch to esm, and improve tsconfig#32
GeekyEggo merged 3 commits intomainfrom
deps

Conversation

@GeekyEggo
Copy link
Copy Markdown
Owner

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the project to an ESM-based setup while modernizing TypeScript compiler settings and bumping GitHub Actions/tooling dependencies to newer major versions.

Changes:

  • Switch package/module configuration toward ESM (type: module, module: preserve, ESM runtime scoping for dist/).
  • Update TypeScript compiler options for stricter checking and modern targets (ES2022, isolated modules, verbatim module syntax, etc.).
  • Upgrade @actions/* dependencies and related tooling versions (plus lockfile regeneration).

Reviewed changes

Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tsconfig.json Modernizes TS compiler options for stricter + ESM-friendly typechecking.
src/index.ts Adjusts artifact deletion flow to rely on exception-based failures and improve error logging.
package.json Marks the package as ESM and bumps dependency versions.
package-lock.json Updates lockfile to reflect new dependency graph and versions.
dist/package.json Adds ESM package scope for dist/ runtime resolution.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/index.ts
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 6 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/index.ts:37

  • The outer catch passes err to core.setFailed via a type assertion. Since thrown values can be non-Error (e.g., objects), this can lead to unhelpful [object Object] output or type-unsafe usage. Consider normalizing the value (e.g., use the instanceof Error check you already use above, otherwise coerce to a string) before calling setFailed.
    } catch (err) {
        core.setFailed(<string | Error>err);
    }

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants