99 ALCHEMY_API_KEY : ${{ secrets.ALCHEMY_API_KEY }}
1010 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
1111 OSO_DEVELOPER_API_KEY : ${{ secrets.OSO_DEVELOPER_API_KEY }}
12- github-token : ${{ secrets.GITHUB_TOKEN }}
13- COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_NEW }}
1412
1513jobs :
1614 lint :
4846 sleep 5
4947 - run : cd packages/ethernaut-common && npm t
5048 - name : Coveralls
51- uses : coverallsapp/github-action@v2.3.6
49+ uses : coverallsapp/github-action@v2
5250 with :
53- github-token : ${{ secrets.COVERALLS_NEW }}
51+ github-token : ${{ secrets.GITHUB_TOKEN }}
5452 flag-name : ethernaut-common
5553 parallel : true
5654 ethernaut-oso :
@@ -69,11 +67,32 @@ jobs:
6967 - run : npm run compile --if-present
7068 - run : cd packages/ethernaut-oso && npm t
7169 - name : Coveralls
72- uses : coverallsapp/github-action@v2.3.6
70+ uses : coverallsapp/github-action@v2
7371 with :
74- github-token : ${{ secrets.COVERALLS_NEW }}
72+ github-token : ${{ secrets.GITHUB_TOKEN }}
7573 flag-name : ethernaut-oso
7674 parallel : true
75+ ethernaut-optigov :
76+ runs-on : ubuntu-latest
77+ strategy :
78+ matrix :
79+ node-version : ['20.12.0']
80+ steps :
81+ - uses : actions/checkout@v3
82+ - name : Use Node.js ${{ matrix.node-version }}
83+ uses : actions/setup-node@v3
84+ with :
85+ node-version : ${{ matrix.node-version }}
86+ - run : npm ci
87+ - run : npm run build --if-present
88+ - run : npm run compile --if-present
89+ - run : cd packages/ethernaut-optigov && npm t
90+ - name : Coveralls
91+ uses : coverallsapp/github-action@v2
92+ with :
93+ github-token : ${{ secrets.GITHUB_TOKEN }}
94+ flag-name : ethernaut-optigov
95+ parallel : true
7796 ethernaut-util :
7897 runs-on : ubuntu-latest
7998 strategy :
90109 - run : npm run compile --if-present
91110 - run : cd packages/ethernaut-util && npm t
92111 - name : Coveralls
93- uses : coverallsapp/github-action@v2.3.6
112+ uses : coverallsapp/github-action@v2
94113 with :
95- github-token : ${{ secrets.COVERALLS_NEW }}
114+ github-token : ${{ secrets.GITHUB_TOKEN }}
96115 flag-name : ethernaut-util
97116 parallel : true
98117 ethernaut-util-ui :
@@ -111,9 +130,9 @@ jobs:
111130 - run : npm run compile --if-present
112131 - run : cd packages/ethernaut-util-ui && npm t
113132 - name : Coveralls
114- uses : coverallsapp/github-action@v2.3.6
133+ uses : coverallsapp/github-action@v2
115134 with :
116- github-token : ${{ secrets.COVERALLS_NEW }}
135+ github-token : ${{ secrets.GITHUB_TOKEN }}
117136 flag-name : ethernaut-util-ui
118137 parallel : true
119138 ethernaut-ui :
@@ -132,9 +151,9 @@ jobs:
132151 - run : npm run compile --if-present
133152 - run : cd packages/ethernaut-ui && npm t
134153 - name : Coveralls
135- uses : coverallsapp/github-action@v2.3.6
154+ uses : coverallsapp/github-action@v2
136155 with :
137- github-token : ${{ secrets.COVERALLS_NEW }}
156+ github-token : ${{ secrets.GITHUB_TOKEN }}
138157 flag-name : ethernaut-ui
139158 parallel : true
140159 ethernaut-interact :
@@ -159,9 +178,9 @@ jobs:
159178 sleep 5
160179 - run : cd packages/ethernaut-interact && npm t
161180 - name : Coveralls
162- uses : coverallsapp/github-action@v2.3.6
181+ uses : coverallsapp/github-action@v2
163182 with :
164- github-token : ${{ secrets.COVERALLS_NEW }}
183+ github-token : ${{ secrets.GITHUB_TOKEN }}
165184 flag-name : ethernaut-interact
166185 parallel : true
167186 ethernaut-interact-ui :
@@ -186,9 +205,9 @@ jobs:
186205 sleep 5
187206 - run : cd packages/ethernaut-interact-ui && npm t
188207 - name : Coveralls
189- uses : coverallsapp/github-action@v2.3.6
208+ uses : coverallsapp/github-action@v2
190209 with :
191- github-token : ${{ secrets.COVERALLS_NEW }}
210+ github-token : ${{ secrets.GITHUB_TOKEN }}
192211 flag-name : ethernaut-interact-ui
193212 parallel : true
194213 ethernaut-challenges :
@@ -213,9 +232,9 @@ jobs:
213232 sleep 5
214233 - run : cd packages/ethernaut-challenges && npm t
215234 - name : Coveralls
216- uses : coverallsapp/github-action@v2.3.6
235+ uses : coverallsapp/github-action@v2
217236 with :
218- github-token : ${{ secrets.COVERALLS_NEW }}
237+ github-token : ${{ secrets.GITHUB_TOKEN }}
219238 flag-name : ethernaut-challenges
220239 parallel : true
221240 ethernaut-ai :
@@ -234,9 +253,9 @@ jobs:
234253 - run : npm run compile --if-present
235254 - run : cd packages/ethernaut-ai && npm t
236255 - name : Coveralls
237- uses : coverallsapp/github-action@v2.3.6
256+ uses : coverallsapp/github-action@v2
238257 with :
239- github-token : ${{ secrets.COVERALLS_NEW }}
258+ github-token : ${{ secrets.GITHUB_TOKEN }}
240259 flag-name : ethernaut-ai
241260 parallel : true
242261 ethernaut-ai-ui :
@@ -255,9 +274,9 @@ jobs:
255274 - run : npm run compile --if-present
256275 - run : cd packages/ethernaut-ai-ui && npm t
257276 - name : Coveralls
258- uses : coverallsapp/github-action@v2.3.6
277+ uses : coverallsapp/github-action@v2
259278 with :
260- github-token : ${{ secrets.COVERALLS_NEW }}
279+ github-token : ${{ secrets.GITHUB_TOKEN }}
261280 flag-name : ethernaut-ai-ui
262281 parallel : true
263282 ethernaut-network :
@@ -278,9 +297,9 @@ jobs:
278297 - run : npm run compile --if-present
279298 - run : cd packages/ethernaut-network && npm t
280299 - name : Coveralls
281- uses : coverallsapp/github-action@v2.3.6
300+ uses : coverallsapp/github-action@v2
282301 with :
283- github-token : ${{ secrets.COVERALLS_NEW }}
302+ github-token : ${{ secrets.GITHUB_TOKEN }}
284303 flag-name : ethernaut-network
285304 parallel : true
286305 ethernaut-network-ui :
@@ -301,9 +320,9 @@ jobs:
301320 - run : npm run compile --if-present
302321 - run : cd packages/ethernaut-network-ui && npm t
303322 - name : Coveralls
304- uses : coverallsapp/github-action@v2.3.6
323+ uses : coverallsapp/github-action@v2
305324 with :
306- github-token : ${{ secrets.COVERALLS_NEW }}
325+ github-token : ${{ secrets.GITHUB_TOKEN }}
307326 flag-name : ethernaut-network-ui
308327 parallel : true
309328 ethernaut-wallet :
@@ -328,9 +347,9 @@ jobs:
328347 sleep 5
329348 - run : cd packages/ethernaut-wallet && npm t
330349 - name : Coveralls
331- uses : coverallsapp/github-action@v2.3.6
350+ uses : coverallsapp/github-action@v2
332351 with :
333- github-token : ${{ secrets.COVERALLS_NEW }}
352+ github-token : ${{ secrets.GITHUB_TOKEN }}
334353 flag-name : ethernaut-wallet
335354 parallel : true
336355 ethernaut-wallet-ui :
@@ -355,9 +374,9 @@ jobs:
355374 sleep 5
356375 - run : cd packages/ethernaut-wallet-ui && npm t
357376 - name : Coveralls
358- uses : coverallsapp/github-action@v2.3.6
377+ uses : coverallsapp/github-action@v2
359378 with :
360- github-token : ${{ secrets.COVERALLS_NEW }}
379+ github-token : ${{ secrets.GITHUB_TOKEN }}
361380 flag-name : ethernaut-wallet-ui
362381 parallel : true
363382 ethernaut-cli :
@@ -376,34 +395,35 @@ jobs:
376395 - run : npm run compile --if-present
377396 - run : cd packages/ethernaut-cli && npm t
378397 - name : Coveralls
379- uses : coverallsapp/github-action@v2.3.6
398+ uses : coverallsapp/github-action@v2
380399 with :
381- github-token : ${{ secrets.COVERALLS_NEW }}
400+ github-token : ${{ secrets.GITHUB_TOKEN }}
382401 flag-name : ethernaut-cli
383402 parallel : true
384403 finish :
385404 needs :
386- [
387- ethernaut-common,
388- ethernaut-oso,
389- ethernaut-util,
390- ethernaut-util-ui,
391- ethernaut-ui,
392- ethernaut-interact,
393- ethernaut-interact-ui,
394- ethernaut-challenges,
395- ethernaut-ai,
396- ethernaut-ai-ui,
397- ethernaut-network,
398- ethernaut-network-ui,
399- ethernaut-wallet,
400- ethernaut-wallet-ui,
401- ethernaut-cli,
402- ]
405+ - lint
406+ - ethernaut-common
407+ - ethernaut-oso
408+ - ethernaut-optigov
409+ - ethernaut-util
410+ - ethernaut-util-ui
411+ - ethernaut-ui
412+ - ethernaut-interact
413+ - ethernaut-interact-ui
414+ - ethernaut-challenges
415+ - ethernaut-ai
416+ - ethernaut-ai-ui
417+ - ethernaut-network
418+ - ethernaut-network-ui
419+ - ethernaut-wallet
420+ - ethernaut-wallet-ui
421+ - ethernaut-cli
422+ if : ${{ success() }}
403423 runs-on : ubuntu-latest
404424 steps :
405425 - name : Coveralls Finished
406- uses : coverallsapp/github-action@v2.3.6
426+ uses : coverallsapp/github-action@v2
407427 with :
408- github-token : ${{ secrets.COVERALLS_NEW }}
409428 parallel-finished : true
429+ carryforward : ' lint,ethernaut-common,ethernaut-oso,ethernaut-optigov,ethernaut-util,ethernaut-util-ui,ethernaut-ui,ethernaut-interact,ethernaut-interact-ui,ethernaut-challenges,ethernaut-ai,ethernaut-ai-ui,ethernaut-network,ethernaut-network-ui,ethernaut-wallet,ethernaut-wallet-ui,ethernaut-cli'
0 commit comments