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
@@ -177,7 +177,7 @@ jobs:
177
177
- name : Node 18
178
178
MONGODB_VERSION : 4.4.13
179
179
MONGODB_TOPOLOGY : standalone
180
- NODE_VERSION : 18.12.1
180
+ NODE_VERSION : 18.18.2
181
181
fail-fast : false
182
182
name : ${{ matrix.name }}
183
183
timeout-minutes : 15
@@ -186,7 +186,7 @@ jobs:
186
186
redis :
187
187
image : redis
188
188
ports :
189
- - 6379:6379
189
+ - 6379:6379
190
190
env :
191
191
MONGODB_VERSION : ${{ matrix.MONGODB_VERSION }}
192
192
MONGODB_TOPOLOGY : ${{ matrix.MONGODB_TOPOLOGY }}
0 commit comments