1
1
name : ci
2
2
on :
3
3
push :
4
- branches : [ release, alpha, beta, next-major, 'release-[0-9]+.x.x' ]
4
+ branches : [release, alpha, beta, next-major, 'release-[0-9]+.x.x']
5
5
pull_request :
6
6
branches :
7
7
- ' **'
@@ -21,17 +21,17 @@ jobs:
21
21
strategy :
22
22
fail-fast : false
23
23
matrix :
24
- language : [ 'javascript' ]
24
+ language : ['javascript']
25
25
steps :
26
- - name : Checkout repository
27
- uses : actions/checkout@v3
28
- - name : Initialize CodeQL
29
- uses : github/codeql-action/init@v2
30
- with :
31
- languages : ${{ matrix.language }}
32
- source-root : src
33
- - name : Perform CodeQL Analysis
34
- uses : github/codeql-action/analyze@v2
26
+ - name : Checkout repository
27
+ uses : actions/checkout@v3
28
+ - name : Initialize CodeQL
29
+ uses : github/codeql-action/init@v2
30
+ with :
31
+ languages : ${{ matrix.language }}
32
+ source-root : src
33
+ - name : Perform CodeQL Analysis
34
+ uses : github/codeql-action/analyze@v2
35
35
check-ci :
36
36
name : Node Engine Check
37
37
timeout-minutes : 15
@@ -54,30 +54,30 @@ jobs:
54
54
- name : CI Node Engine Check
55
55
run : npm run ci:checkNodeEngine
56
56
check-lint :
57
- name : Lint
58
- timeout-minutes : 15
59
- runs-on : ubuntu-latest
60
- steps :
61
- - uses : actions/checkout@v2
62
- - name : Use Node.js ${{ matrix.NODE_VERSION }}
63
- uses : actions/setup-node@v2
64
- with :
65
- node-version : ${{ matrix.node-version }}
66
- - name : Cache Node.js modules
67
- uses : actions/cache@v2
68
- with :
69
- path : ~/.npm
70
- key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
71
- restore-keys : |
72
- ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
73
- - name : Install dependencies
74
- run : npm ci
75
- - run : npm run lint
57
+ name : Lint
58
+ timeout-minutes : 15
59
+ runs-on : ubuntu-latest
60
+ steps :
61
+ - uses : actions/checkout@v2
62
+ - name : Use Node.js ${{ matrix.NODE_VERSION }}
63
+ uses : actions/setup-node@v2
64
+ with :
65
+ node-version : ${{ matrix.node-version }}
66
+ - name : Cache Node.js modules
67
+ uses : actions/cache@v2
68
+ with :
69
+ path : ~/.npm
70
+ key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
71
+ restore-keys : |
72
+ ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
73
+ - name : Install dependencies
74
+ run : npm ci
75
+ - run : npm run lint
76
76
check-definitions :
77
- name : Check Definitions
78
- timeout-minutes : 5
79
- runs-on : ubuntu-latest
80
- steps :
77
+ name : Check Definitions
78
+ timeout-minutes : 5
79
+ runs-on : ubuntu-latest
80
+ steps :
81
81
- uses : actions/checkout@v2
82
82
- name : Use Node.js ${{ matrix.NODE_VERSION }}
83
83
uses : actions/setup-node@v2
@@ -95,25 +95,25 @@ jobs:
95
95
- name : CI Definitions Check
96
96
run : npm run ci:definitionsCheck
97
97
check-circular :
98
- name : Circular Dependencies
99
- timeout-minutes : 5
100
- runs-on : ubuntu-latest
101
- steps :
102
- - uses : actions/checkout@v2
103
- - name : Use Node.js ${{ matrix.NODE_VERSION }}
104
- uses : actions/setup-node@v2
105
- with :
106
- node-version : ${{ matrix.node-version }}
107
- - name : Cache Node.js modules
108
- uses : actions/cache@v2
109
- with :
110
- path : ~/.npm
111
- key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
112
- restore-keys : |
113
- ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
114
- - name : Install dependencies
115
- run : npm ci
116
- - run : npm run madge:circular
98
+ name : Circular Dependencies
99
+ timeout-minutes : 5
100
+ runs-on : ubuntu-latest
101
+ steps :
102
+ - uses : actions/checkout@v2
103
+ - name : Use Node.js ${{ matrix.NODE_VERSION }}
104
+ uses : actions/setup-node@v2
105
+ with :
106
+ node-version : ${{ matrix.node-version }}
107
+ - name : Cache Node.js modules
108
+ uses : actions/cache@v2
109
+ with :
110
+ path : ~/.npm
111
+ key : ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-${{ hashFiles('**/package-lock.json') }}
112
+ restore-keys : |
113
+ ${{ runner.os }}-node-${{ matrix.NODE_VERSION }}-
114
+ - name : Install dependencies
115
+ run : npm ci
116
+ - run : npm run madge:circular
117
117
check-docker :
118
118
name : Docker Build
119
119
timeout-minutes : 15
@@ -147,19 +147,23 @@ jobs:
147
147
include :
148
148
- name : MongoDB 4.2, ReplicaSet
149
149
MONGODB_VERSION : 4.2.19
150
- MONGODB_TOPOLOGY : replicaset
150
+ MONGODB_TOPOLOGY : replset
151
151
NODE_VERSION : 19.3.0
152
152
- name : MongoDB 4.4, ReplicaSet
153
153
MONGODB_VERSION : 4.4.13
154
- MONGODB_TOPOLOGY : replicaset
154
+ MONGODB_TOPOLOGY : replset
155
155
NODE_VERSION : 19.3.0
156
156
- name : MongoDB 5, ReplicaSet
157
157
MONGODB_VERSION : 5.3.2
158
- MONGODB_TOPOLOGY : replicaset
158
+ MONGODB_TOPOLOGY : replset
159
159
NODE_VERSION : 19.3.0
160
160
- name : MongoDB 6, ReplicaSet
161
161
MONGODB_VERSION : 6.0.2
162
- MONGODB_TOPOLOGY : replicaset
162
+ MONGODB_TOPOLOGY : replset
163
+ NODE_VERSION : 19.3.0
164
+ - name : MongoDB 7, ReplicaSet
165
+ MONGODB_VERSION : 7.0.1
166
+ MONGODB_TOPOLOGY : replset
163
167
NODE_VERSION : 19.3.0
164
168
- name : Redis Cache
165
169
PARSE_SERVER_TEST_CACHE : redis
@@ -186,7 +190,7 @@ jobs:
186
190
redis :
187
191
image : redis
188
192
ports :
189
- - 6379:6379
193
+ - 6379:6379
190
194
env :
191
195
MONGODB_VERSION : ${{ matrix.MONGODB_VERSION }}
192
196
MONGODB_TOPOLOGY : ${{ matrix.MONGODB_TOPOLOGY }}
0 commit comments