File tree Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Expand file tree Collapse file tree 2 files changed +8
-16
lines changed Original file line number Diff line number Diff line change 1313 push :
1414 branches :
1515 - main
16- - release/*
17- - feat/*
18- - fix/*
19- - perf/*
20- - v1
21- - v2
22- - v2.*
23- - v3.*
2416 pull_request :
2517 workflow_dispatch :
2618
@@ -35,13 +27,13 @@ jobs:
3527 strategy :
3628 matrix :
3729 os : [ubuntu-latest]
38- node_version : [16, 18, 20]
30+ node_version : [18, 20, 22 ]
3931 include :
4032 # Active LTS + other OS
4133 - os : macos-latest
42- node_version : 18
34+ node_version : 20
4335 - os : windows-latest
44- node_version : 18
36+ node_version : 20
4537 fail-fast : false
4638
4739 name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
9486 if : github.repository == 'vitejs/vite-plugin-react'
9587 timeout-minutes : 10
9688 runs-on : ubuntu-latest
97- name : " Lint: node-18 , ubuntu-latest"
89+ name : " Lint: node-20 , ubuntu-latest"
9890 steps :
9991 - uses : actions/checkout@v4
10092 with :
@@ -103,10 +95,10 @@ jobs:
10395 - name : Install pnpm
1049610597
106- - name : Set node version to 18
98+ - name : Set node version to 20
10799 uses : actions/setup-node@v4
108100 with :
109- node-version : 18
101+ node-version : 20
110102 cache : " pnpm"
111103
112104 - name : Install deps
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
1616 - name : Install pnpm
17171818
19- - name : Set node version to 16.x
19+ - name : Set node version to 20
2020 uses : actions/setup-node@v4
2121 with :
22- node-version : 16.x
22+ node-version : 20
2323 registry-url : https://registry.npmjs.org/
2424 cache : " pnpm"
2525
You can’t perform that action at this time.
0 commit comments