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 13
13
push :
14
14
branches :
15
15
- main
16
- - release/*
17
- - feat/*
18
- - fix/*
19
- - perf/*
20
- - v1
21
- - v2
22
- - v2.*
23
- - v3.*
24
16
pull_request :
25
17
workflow_dispatch :
26
18
@@ -35,13 +27,13 @@ jobs:
35
27
strategy :
36
28
matrix :
37
29
os : [ubuntu-latest]
38
- node_version : [16, 18, 20]
30
+ node_version : [18, 20, 22 ]
39
31
include :
40
32
# Active LTS + other OS
41
33
- os : macos-latest
42
- node_version : 18
34
+ node_version : 20
43
35
- os : windows-latest
44
- node_version : 18
36
+ node_version : 20
45
37
fail-fast : false
46
38
47
39
name : " Build&Test: node-${{ matrix.node_version }}, ${{ matrix.os }}"
94
86
if : github.repository == 'vitejs/vite-plugin-react'
95
87
timeout-minutes : 10
96
88
runs-on : ubuntu-latest
97
- name : " Lint: node-18 , ubuntu-latest"
89
+ name : " Lint: node-20 , ubuntu-latest"
98
90
steps :
99
91
- uses : actions/checkout@v4
100
92
with :
@@ -103,10 +95,10 @@ jobs:
103
95
- name : Install pnpm
104
96
105
97
106
- - name : Set node version to 18
98
+ - name : Set node version to 20
107
99
uses : actions/setup-node@v4
108
100
with :
109
- node-version : 18
101
+ node-version : 20
110
102
cache : " pnpm"
111
103
112
104
- name : Install deps
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
16
16
- name : Install pnpm
17
17
18
18
19
- - name : Set node version to 16.x
19
+ - name : Set node version to 20
20
20
uses : actions/setup-node@v4
21
21
with :
22
- node-version : 16.x
22
+ node-version : 20
23
23
registry-url : https://registry.npmjs.org/
24
24
cache : " pnpm"
25
25
You can’t perform that action at this time.
0 commit comments