11name : ci
22on :
33 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']
55 pull_request :
66 branches :
77 - ' **'
@@ -21,17 +21,17 @@ jobs:
2121 strategy :
2222 fail-fast : false
2323 matrix :
24- language : [ 'javascript' ]
24+ language : ['javascript']
2525 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
3535 check-ci :
3636 name : Node Engine Check
3737 timeout-minutes : 15
@@ -54,30 +54,30 @@ jobs:
5454 - name : CI Node Engine Check
5555 run : npm run ci:checkNodeEngine
5656 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
7676 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 :
8181 - uses : actions/checkout@v2
8282 - name : Use Node.js ${{ matrix.NODE_VERSION }}
8383 uses : actions/setup-node@v2
@@ -95,25 +95,25 @@ jobs:
9595 - name : CI Definitions Check
9696 run : npm run ci:definitionsCheck
9797 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
117117 check-docker :
118118 name : Docker Build
119119 timeout-minutes : 15
@@ -177,7 +177,7 @@ jobs:
177177 - name : Node 18
178178 MONGODB_VERSION : 4.4.13
179179 MONGODB_TOPOLOGY : standalone
180- NODE_VERSION : 18.12.1
180+ NODE_VERSION : 18.18.2
181181 fail-fast : false
182182 name : ${{ matrix.name }}
183183 timeout-minutes : 15
@@ -186,7 +186,7 @@ jobs:
186186 redis :
187187 image : redis
188188 ports :
189- - 6379:6379
189+ - 6379:6379
190190 env :
191191 MONGODB_VERSION : ${{ matrix.MONGODB_VERSION }}
192192 MONGODB_TOPOLOGY : ${{ matrix.MONGODB_TOPOLOGY }}
0 commit comments