8
8
paths-ignore :
9
9
- ' **/**.md'
10
10
env :
11
- NODE_VERSION : 19.3.0
11
+ NODE_VERSION : 20.11.1
12
12
PARSE_SERVER_TEST_TIMEOUT : 20000
13
13
jobs :
14
14
check-code-analysis :
24
24
language : ['javascript']
25
25
steps :
26
26
- name : Checkout repository
27
- uses : actions/checkout@v3
27
+ uses : actions/checkout@v4
28
28
- name : Initialize CodeQL
29
29
uses : github/codeql-action/init@v2
30
30
with :
@@ -37,13 +37,13 @@ jobs:
37
37
timeout-minutes : 15
38
38
runs-on : ubuntu-latest
39
39
steps :
40
- - uses : actions/checkout@v2
40
+ - uses : actions/checkout@v4
41
41
- name : Use Node.js ${{ matrix.NODE_VERSION }}
42
- uses : actions/setup-node@v2
42
+ uses : actions/setup-node@v4
43
43
with :
44
44
node-version : ${{ matrix.node-version }}
45
45
- name : Cache Node.js modules
46
- uses : actions/cache@v2
46
+ uses : actions/cache@v4
47
47
with :
48
48
path : ~/.npm
49
49
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -58,13 +58,13 @@ jobs:
58
58
timeout-minutes : 15
59
59
runs-on : ubuntu-latest
60
60
steps :
61
- - uses : actions/checkout@v2
61
+ - uses : actions/checkout@v4
62
62
- name : Use Node.js ${{ matrix.NODE_VERSION }}
63
- uses : actions/setup-node@v2
63
+ uses : actions/setup-node@v4
64
64
with :
65
65
node-version : ${{ matrix.node-version }}
66
66
- name : Cache Node.js modules
67
- uses : actions/cache@v2
67
+ uses : actions/cache@v4
68
68
with :
69
69
path : ~/.npm
70
70
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -78,13 +78,13 @@ jobs:
78
78
timeout-minutes : 5
79
79
runs-on : ubuntu-latest
80
80
steps :
81
- - uses : actions/checkout@v2
81
+ - uses : actions/checkout@v4
82
82
- name : Use Node.js ${{ matrix.NODE_VERSION }}
83
- uses : actions/setup-node@v2
83
+ uses : actions/setup-node@v4
84
84
with :
85
85
node-version : ${{ matrix.node-version }}
86
86
- name : Cache Node.js modules
87
- uses : actions/cache@v2
87
+ uses : actions/cache@v4
88
88
with :
89
89
path : ~/.npm
90
90
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -99,13 +99,13 @@ jobs:
99
99
timeout-minutes : 5
100
100
runs-on : ubuntu-latest
101
101
steps :
102
- - uses : actions/checkout@v2
102
+ - uses : actions/checkout@v4
103
103
- name : Use Node.js ${{ matrix.NODE_VERSION }}
104
- uses : actions/setup-node@v2
104
+ uses : actions/setup-node@v4
105
105
with :
106
106
node-version : ${{ matrix.node-version }}
107
107
- name : Cache Node.js modules
108
- uses : actions/cache@v2
108
+ uses : actions/cache@v4
109
109
with :
110
110
path : ~/.npm
111
111
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -120,7 +120,7 @@ jobs:
120
120
runs-on : ubuntu-latest
121
121
steps :
122
122
- name : Checkout repository
123
- uses : actions/checkout@v2
123
+ uses : actions/checkout@v4
124
124
- name : Set up QEMU
125
125
id : qemu
126
126
uses : docker/setup-qemu-action@v1
@@ -136,7 +136,7 @@ jobs:
136
136
timeout-minutes : 5
137
137
runs-on : ubuntu-latest
138
138
steps :
139
- - uses : actions/checkout@v2
139
+ - uses : actions/checkout@v4
140
140
- name : Check NPM lock file version
141
141
uses : mansona/npm-lockfile-version@v1
142
142
with :
@@ -148,40 +148,32 @@ jobs:
148
148
- name : MongoDB 4.2, ReplicaSet
149
149
MONGODB_VERSION : 4.2.19
150
150
MONGODB_TOPOLOGY : replset
151
- NODE_VERSION : 19.3.0
151
+ NODE_VERSION : 20.11.1
152
152
- name : MongoDB 4.4, ReplicaSet
153
153
MONGODB_VERSION : 4.4.13
154
154
MONGODB_TOPOLOGY : replset
155
- NODE_VERSION : 19.3.0
155
+ NODE_VERSION : 20.11.1
156
156
- name : MongoDB 5, ReplicaSet
157
157
MONGODB_VERSION : 5.3.2
158
158
MONGODB_TOPOLOGY : replset
159
- NODE_VERSION : 19.3.0
159
+ NODE_VERSION : 20.11.1
160
160
- name : MongoDB 6, ReplicaSet
161
161
MONGODB_VERSION : 6.0.2
162
162
MONGODB_TOPOLOGY : replset
163
- NODE_VERSION : 19.3.0
163
+ NODE_VERSION : 20.11.1
164
164
- name : MongoDB 7, ReplicaSet
165
165
MONGODB_VERSION : 7.0.1
166
166
MONGODB_TOPOLOGY : replset
167
- NODE_VERSION : 19.3.0
167
+ NODE_VERSION : 20.11.1
168
168
- name : Redis Cache
169
169
PARSE_SERVER_TEST_CACHE : redis
170
170
MONGODB_VERSION : 4.4.13
171
171
MONGODB_TOPOLOGY : standalone
172
- NODE_VERSION : 19.3.0
173
- - name : Node 14
174
- MONGODB_VERSION : 4.4.13
175
- MONGODB_TOPOLOGY : standalone
176
- NODE_VERSION : 14.21.1
177
- - name : Node 16
178
- MONGODB_VERSION : 4.4.13
179
- MONGODB_TOPOLOGY : standalone
180
- NODE_VERSION : 16.18.1
172
+ NODE_VERSION : 20.11.1
181
173
- name : Node 18
182
174
MONGODB_VERSION : 4.4.13
183
175
MONGODB_TOPOLOGY : standalone
184
- NODE_VERSION : 18.12 .1
176
+ NODE_VERSION : 18.19 .1
185
177
fail-fast : false
186
178
name : ${{ matrix.name }}
187
179
timeout-minutes : 15
@@ -200,16 +192,13 @@ jobs:
200
192
steps :
201
193
- name : Fix usage of insecure GitHub protocol
202
194
run : sudo git config --system url."https://github".insteadOf "git://github"
203
- - name : Fix git protocol for Node 14
204
- if : ${{ startsWith(matrix.NODE_VERSION, '14.') }}
205
- run : sudo git config --system url."https://github".insteadOf "ssh://git@github"
206
- - uses : actions/checkout@v2
195
+ - uses : actions/checkout@v4
207
196
- name : Use Node.js ${{ matrix.NODE_VERSION }}
208
- uses : actions/setup-node@v2
197
+ uses : actions/setup-node@v4
209
198
with :
210
199
node-version : ${{ matrix.NODE_VERSION }}
211
200
- name : Cache Node.js modules
212
- uses : actions/cache@v2
201
+ uses : actions/cache@v4
213
202
with :
214
203
path : ~/.npm
215
204
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
@@ -228,25 +217,25 @@ jobs:
228
217
include :
229
218
- name : PostgreSQL 13, PostGIS 3.1
230
219
POSTGRES_IMAGE : postgis/postgis:13-3.1
231
- NODE_VERSION : 19.3.0
220
+ NODE_VERSION : 20.11.1
232
221
- name : PostgreSQL 13, PostGIS 3.2
233
222
POSTGRES_IMAGE : postgis/postgis:13-3.2
234
- NODE_VERSION : 19.3.0
223
+ NODE_VERSION : 20.11.1
235
224
- name : PostgreSQL 13, PostGIS 3.3
236
225
POSTGRES_IMAGE : postgis/postgis:13-3.3
237
- NODE_VERSION : 19.3.0
226
+ NODE_VERSION : 20.11.1
238
227
- name : PostgreSQL 13, PostGIS 3.4
239
228
POSTGRES_IMAGE : postgis/postgis:13-3.4
240
- NODE_VERSION : 19.3.0
229
+ NODE_VERSION : 20.11.1
241
230
- name : PostgreSQL 14, PostGIS 3.4
242
231
POSTGRES_IMAGE : postgis/postgis:14-3.4
243
- NODE_VERSION : 19.3.0
232
+ NODE_VERSION : 20.11.1
244
233
- name : PostgreSQL 15, PostGIS 3.4
245
234
POSTGRES_IMAGE : postgis/postgis:15-3.4
246
- NODE_VERSION : 19.3.0
235
+ NODE_VERSION : 20.11.1
247
236
- name : PostgreSQL 16, PostGIS 3.4
248
237
POSTGRES_IMAGE : postgis/postgis:15-3.4
249
- NODE_VERSION : 19.3.0
238
+ NODE_VERSION : 20.11.1
250
239
fail-fast : false
251
240
name : ${{ matrix.name }}
252
241
timeout-minutes : 15
@@ -272,13 +261,13 @@ jobs:
272
261
PARSE_SERVER_TEST_DATABASE_URI : postgres://postgres:postgres@localhost:5432/parse_server_postgres_adapter_test_database
273
262
NODE_VERSION : ${{ matrix.NODE_VERSION }}
274
263
steps :
275
- - uses : actions/checkout@v2
264
+ - uses : actions/checkout@v4
276
265
- name : Use Node.js ${{ matrix.NODE_VERSION }}
277
- uses : actions/setup-node@v2
266
+ uses : actions/setup-node@v4
278
267
with :
279
268
node-version : ${{ matrix.NODE_VERSION }}
280
269
- name : Cache Node.js modules
281
- uses : actions/cache@v2
270
+ uses : actions/cache@v4
282
271
with :
283
272
path : ~/.npm
284
273
key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
0 commit comments