Skip to content

feat(deps): update @actions/cache, @actions/core, @actions/exec, and zod#39

Merged
fengmk2 merged 8 commits intomainfrom
update-deps
Mar 25, 2026
Merged

feat(deps): update @actions/cache, @actions/core, @actions/exec, and zod#39
fengmk2 merged 8 commits intomainfrom
update-deps

Conversation

@fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Mar 25, 2026

Summary

  • Update @actions/cache from ^4.1.0 to ^6.0.0
  • Update @actions/core from ^1.11.1 to ^3.0.0
  • Update @actions/exec from ^1.1.1 to ^3.0.0
  • Update zod from ^3.25.76 to ^4.0.0
  • Fix zod v4 breaking change: ZodError.errorsZodError.issues in src/inputs.ts

Consolidates the following Renovate PRs:

Test plan

  • vp run check:fix passes
  • vp run test passes (86 tests, 5 files)
  • vp run build produces updated dist/index.mjs
  • Action functions correctly in a workflow run

…od to latest majors

- @actions/cache ^4.1.0 → ^6.0.0
- @actions/core ^1.11.1 → ^3.0.0
- @actions/exec ^1.1.1 → ^3.0.0
- zod ^3.25.76 → ^4.0.0
- Fix zod v4 breaking change: ZodError.errors → ZodError.issues

Closes #35
Closes #36
Closes #37
Closes #38
Copilot AI review requested due to automatic review settings March 25, 2026 08:46
fengmk2 added 3 commits March 25, 2026 16:48
TypeScript 6 requires explicit "types": ["node"] in tsconfig.json
for @types/node to be resolved.
Move test config into the main vite.config.ts and remove the
separate vitest.config.ts file.
Copy link
Contributor

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 GitHub Action’s runtime dependencies to newer major versions (notably ESM-only @actions/* packages and zod@4) and adjusts the code to match Zod v4’s error API.

Changes:

  • Bump @actions/cache, @actions/core, and @actions/exec to major ESM-only versions.
  • Bump zod to v4 and update error handling (ZodError.errorsZodError.issues).
  • Refresh pnpm-lock.yaml to reflect the dependency upgrades.

Reviewed changes

Copilot reviewed 4 out of 7 changed files in this pull request and generated 1 comment.

File Description
src/inputs.ts Updates Zod error property usage for Zod v4 compatibility.
package.json Raises dependency ranges to the new major versions.
pnpm-lock.yaml Lockfile updates for the new dependency graph (including transitive updates).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment on lines 15 to 22
"dependencies": {
"@actions/cache": "^4.1.0",
"@actions/core": "^1.11.1",
"@actions/exec": "^1.1.1",
"@actions/cache": "^6.0.0",
"@actions/core": "^3.0.0",
"@actions/exec": "^3.0.0",
"@actions/glob": "^0.6.0",
"yaml": "^2.8.2",
"zod": "^3.25.76"
"zod": "^4.0.0"
},
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The test plan notes the action hasn’t been validated in a real workflow run yet. Given the major upgrades to ESM-only @actions/* packages and zod v4, please run the action in a sample workflow (or add evidence/logs) before merging to confirm runtime behavior on GitHub Actions.

Copilot uses AI. Check for mistakes.
Copilot AI review requested due to automatic review settings March 25, 2026 08:52
@fengmk2 fengmk2 changed the title fix(deps): update @actions/cache, @actions/core, @actions/exec, and zod feat(deps): update @actions/cache, @actions/core, @actions/exec, and zod Mar 25, 2026
Copy link
Contributor

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 6 out of 9 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment on lines 3 to +26
export default defineConfig({
test: {
include: ["src/**/*.test.ts"],
},
staged: {
"*": "vp check --fix",
},
pack: {
entry: ["./src/index.ts"],
format: ["esm"],
outDir: "dist",
noExternal: [/.*/],
inlineOnly: false,
deps: {
alwaysBundle: [/.*/],
onlyBundle: false,
},
clean: true,
minify: true,
},
lint: {
ignorePatterns: ["dist/**/*"],
options: {
typeAware: true,
typeCheck: true,
},
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

The PR description only mentions dependency bumps and the ZodError property rename, but this diff also changes the toolchain/config surface (moves test config into vite.config.ts, updates pack bundling options, enables type-aware/type-check linting, and adjusts TS module settings). Please update the PR description to reflect these additional behavioral/config changes (or split them into a separate PR) so reviewers/users understand the full impact.

Copilot uses AI. Check for mistakes.
@fengmk2 fengmk2 merged commit 624fe22 into main Mar 25, 2026
35 checks passed
@fengmk2 fengmk2 deleted the update-deps branch March 25, 2026 11:54
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