17
17
- uses : actions/checkout@v4
18
18
- uses : actions/setup-node@v4
19
19
with :
20
- node-version : 20
20
+ node-version : 22
21
21
- run : npm ci
22
22
- run : npm run-s test:lint
23
23
lint-example :
27
27
- uses : actions/checkout@v4
28
28
- uses : actions/setup-node@v4
29
29
with :
30
- node-version : 20
30
+ node-version : 22
31
31
- run : npm ci
32
32
- working-directory : ./example
33
33
run : npm ci
40
40
- uses : actions/checkout@v4
41
41
- uses : actions/setup-node@v4
42
42
with :
43
- node-version : 20
43
+ node-version : 22
44
44
- run : npm ci
45
45
- run : npm run-s test:prettier
46
46
prettier-example :
50
50
- uses : actions/checkout@v4
51
51
- uses : actions/setup-node@v4
52
52
with :
53
- node-version : 20
53
+ node-version : 22
54
54
- run : npm ci
55
55
- working-directory : ./example
56
56
run : npm ci
63
63
- uses : actions/checkout@v4
64
64
- uses : actions/setup-node@v4
65
65
with :
66
- node-version : 20
66
+ node-version : 22
67
67
- run : npm ci
68
68
- run : npm run-s test:ts
69
69
test :
73
73
- uses : actions/checkout@v4
74
74
- uses : actions/setup-node@v4
75
75
with :
76
- node-version : 20
76
+ node-version : 22
77
77
- run : npm ci
78
78
- run : npm run-s test:unit
79
79
-
uses :
coverallsapp/[email protected]
@@ -106,6 +106,7 @@ jobs:
106
106
node_version :
107
107
- 18
108
108
- 20
109
+ - 22
109
110
os :
110
111
- macos-latest
111
112
- ubuntu-latest
@@ -122,12 +123,12 @@ jobs:
122
123
run : npm install
123
124
- working-directory : ./example
124
125
run : npm run build
125
- - if : matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
126
+ - if : matrix.os == 'ubuntu-latest' && matrix.node_version == 22 && ((github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event.action == 'published')
126
127
uses : actions/upload-artifact@v4
127
128
with :
128
129
name : dist
129
130
path : dist/**
130
- - if : matrix.os == 'ubuntu-latest' && matrix.node_version == 20 && github.event_name == 'push' && github.ref == 'refs/heads/main'
131
+ - if : matrix.os == 'ubuntu-latest' && matrix.node_version == 22 && github.event_name == 'push' && github.ref == 'refs/heads/main'
131
132
uses : actions/upload-artifact@v4
132
133
with :
133
134
name : example-app
@@ -149,7 +150,7 @@ jobs:
149
150
- uses : actions/checkout@v4
150
151
- uses : actions/setup-node@v4
151
152
with :
152
- node-version : 20
153
+ node-version : 22
153
154
- run : npm ci
154
155
- uses : actions/download-artifact@v4
155
156
with :
@@ -185,7 +186,7 @@ jobs:
185
186
- uses : actions/setup-node@v4
186
187
with :
187
188
registry-url : https://registry.npmjs.org/
188
- node-version : 20
189
+ node-version : 22
189
190
- run : npm ci
190
191
- uses : actions/download-artifact@v4
191
192
with :
0 commit comments