FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: add Node 20 to node-version matrix (expected red until Vite+ supports it) by fengmk2 · Pull Request #84 · voidzero-dev/setup-vp · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
14 changes: 12 additions & 2 deletions .github/workflows/test.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,26 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: ["lts", "22", "24"]
node-version: ["lts", "20", "22", "24"]
runs-on: ubuntu-latest
steps:
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2

- name: Create test project
run: |
mkdir -p test-project
cd test-project
# Pin pnpm to v10. Vite+'s bundled pnpm 11 requires node:sqlite
# (Node >= 22.5) and crashes on Node 20; pnpm 10 still runs on Node 20.
echo '{"name":"test-project","private":true,"packageManager":"pnpm@10.34.3"}' > package.json

# Runs `vp env use <version>` then `vp install` in the test project.
- name: Setup Vite+ with Node.js ${{ matrix.node-version }}
uses: ./
with:
node-version: ${{ matrix.node-version }}
run-install: false
run-install: |
- cwd: test-project
cache: false

- name: Verify installation
Expand Down
Loading

Back | FazBrowse Home | New Git URL