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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ["22", "24"]
node-version: ["lts", "22", "24"]
version: [latest, alpha]
runs-on: ubuntu-latest
steps:
Expand All @@ -54,7 +54,9 @@ jobs:
run: |
ACTUAL=$(node --version)
echo "Node.js version: $ACTUAL"
echo "$ACTUAL" | grep -q "^v${{ matrix.node-version }}\." || (echo "Expected Node.js v${{ matrix.node-version }}.x but got $ACTUAL" && exit 1)
if [ "${{ matrix.node-version }}" != "lts" ]; then
echo "$ACTUAL" | grep -q "^v${{ matrix.node-version }}\." || (echo "Expected Node.js v${{ matrix.node-version }}.x but got $ACTUAL" && exit 1)
fi

test-cache-pnpm:
strategy:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
node-version: "lts"
```

### With Node.js Version File
Expand Down Expand Up @@ -60,7 +60,7 @@ steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
node-version: "lts"
cache: true
run-install: true
```
Expand All @@ -73,7 +73,7 @@ steps:
- uses: voidzero-dev/setup-vp@v1
with:
version: "1.2.3"
node-version: "24"
node-version: "lts"
cache: true
```

Expand All @@ -84,7 +84,7 @@ steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
node-version: "lts"
cache: true
run-install: |
- cwd: ./packages/app
Expand All @@ -101,7 +101,7 @@ steps:
- uses: actions/checkout@v6
- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
node-version: "lts"
registry-url: "https://npm.pkg.github.com"
scope: "@myorg"
run-install: false
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:

- uses: voidzero-dev/setup-vp@v1
with:
node-version: "24"
node-version: "lts"
cache: true

- run: vp run build
Expand Down
203 changes: 100 additions & 103 deletions dist/index.mjs

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"prepare": "vp config"
},
"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"
},
Comment on lines 15 to 22
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.
"devDependencies": {
"@types/node": "^24.0.0",
Expand Down
Loading
Loading