Skip to content

Commit 624fe22

Browse files
authored
feat(deps): update @actions/cache, @actions/core, @actions/exec, and zod (#39)
## 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.errors` → `ZodError.issues` in `src/inputs.ts` Consolidates the following Renovate PRs: - Closes #35 - Closes #36 - Closes #37 - Closes #38 ## Test plan - [x] `vp run check:fix` passes - [x] `vp run test` passes (86 tests, 5 files) - [x] `vp run build` produces updated `dist/index.mjs` - [ ] Action functions correctly in a workflow run
1 parent 747cf6d commit 624fe22

File tree

9 files changed

+154
-471
lines changed

9 files changed

+154
-471
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
strategy:
3333
fail-fast: false
3434
matrix:
35-
node-version: ["22", "24"]
35+
node-version: ["lts", "22", "24"]
3636
version: [latest, alpha]
3737
runs-on: ubuntu-latest
3838
steps:
@@ -54,7 +54,9 @@ jobs:
5454
run: |
5555
ACTUAL=$(node --version)
5656
echo "Node.js version: $ACTUAL"
57-
echo "$ACTUAL" | grep -q "^v${{ matrix.node-version }}\." || (echo "Expected Node.js v${{ matrix.node-version }}.x but got $ACTUAL" && exit 1)
57+
if [ "${{ matrix.node-version }}" != "lts" ]; then
58+
echo "$ACTUAL" | grep -q "^v${{ matrix.node-version }}\." || (echo "Expected Node.js v${{ matrix.node-version }}.x but got $ACTUAL" && exit 1)
59+
fi
5860
5961
test-cache-pnpm:
6062
strategy:

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ steps:
2727
- uses: actions/checkout@v6
2828
- uses: voidzero-dev/setup-vp@v1
2929
with:
30-
node-version: "24"
30+
node-version: "lts"
3131
```
3232
3333
### With Node.js Version File
@@ -60,7 +60,7 @@ steps:
6060
- uses: actions/checkout@v6
6161
- uses: voidzero-dev/setup-vp@v1
6262
with:
63-
node-version: "24"
63+
node-version: "lts"
6464
cache: true
6565
run-install: true
6666
```
@@ -73,7 +73,7 @@ steps:
7373
- uses: voidzero-dev/setup-vp@v1
7474
with:
7575
version: "1.2.3"
76-
node-version: "24"
76+
node-version: "lts"
7777
cache: true
7878
```
7979
@@ -84,7 +84,7 @@ steps:
8484
- uses: actions/checkout@v6
8585
- uses: voidzero-dev/setup-vp@v1
8686
with:
87-
node-version: "24"
87+
node-version: "lts"
8888
cache: true
8989
run-install: |
9090
- cwd: ./packages/app
@@ -101,7 +101,7 @@ steps:
101101
- uses: actions/checkout@v6
102102
- uses: voidzero-dev/setup-vp@v1
103103
with:
104-
node-version: "24"
104+
node-version: "lts"
105105
registry-url: "https://npm.pkg.github.com"
106106
scope: "@myorg"
107107
run-install: false
@@ -204,7 +204,7 @@ jobs:
204204
205205
- uses: voidzero-dev/setup-vp@v1
206206
with:
207-
node-version: "24"
207+
node-version: "lts"
208208
cache: true
209209
210210
- run: vp run build

dist/index.mjs

Lines changed: 100 additions & 103 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
"prepare": "vp config"
1414
},
1515
"dependencies": {
16-
"@actions/cache": "^4.1.0",
17-
"@actions/core": "^1.11.1",
18-
"@actions/exec": "^1.1.1",
16+
"@actions/cache": "^6.0.0",
17+
"@actions/core": "^3.0.0",
18+
"@actions/exec": "^3.0.0",
1919
"@actions/glob": "^0.6.0",
2020
"yaml": "^2.8.2",
21-
"zod": "^3.25.76"
21+
"zod": "^4.0.0"
2222
},
2323
"devDependencies": {
2424
"@types/node": "^24.0.0",

0 commit comments

Comments
 (0)