3
3
# and run "github-actions-wac build" (or "ghawac build") to regenerate this file.
4
4
# For more information, run "github-actions-wac --help".
5
5
name : Pull Requests
6
- ' on ' : pull_request
6
+ " on " : pull_request
7
7
concurrency :
8
8
group : pr-${{ github.event.pull_request.number }}
9
9
cancel-in-progress : true
19
19
- uses : webiny/action-conventional-commits@v1.3.0
20
20
runs-on : ubuntu-latest
21
21
env :
22
- NODE_OPTIONS : ' --max_old_space_size=4096'
22
+ NODE_OPTIONS : " --max_old_space_size=4096"
23
23
YARN_ENABLE_IMMUTABLE_INSTALLS : false
24
24
validateCommitsDev :
25
25
name : Validate commit messages (dev branch, 'feat' commits not allowed)
34
34
allowed-commit-types : fix,docs,style,refactor,test,build,perf,ci,chore,revert,merge,wip
35
35
runs-on : ubuntu-latest
36
36
env :
37
- NODE_OPTIONS : ' --max_old_space_size=4096'
37
+ NODE_OPTIONS : " --max_old_space_size=4096"
38
38
YARN_ENABLE_IMMUTABLE_INSTALLS : false
39
39
constants :
40
40
name : Create constants
87
87
$GITHUB_OUTPUT
88
88
runs-on : ubuntu-latest
89
89
env :
90
- NODE_OPTIONS : ' --max_old_space_size=4096'
90
+ NODE_OPTIONS : " --max_old_space_size=4096"
91
91
YARN_ENABLE_IMMUTABLE_INSTALLS : false
92
92
assignMilestone :
93
93
name : Assign milestone
@@ -117,7 +117,7 @@ jobs:
117
117
milestone : ${{ steps.get-milestone-to-assign.outputs.milestone }}
118
118
runs-on : ubuntu-latest
119
119
env :
120
- NODE_OPTIONS : ' --max_old_space_size=4096'
120
+ NODE_OPTIONS : " --max_old_space_size=4096"
121
121
YARN_ENABLE_IMMUTABLE_INSTALLS : false
122
122
build :
123
123
name : Build
@@ -149,7 +149,7 @@ jobs:
149
149
path : ${{ github.base_ref }}/.webiny/cached-packages
150
150
key : ${{ needs.constants.outputs.run-cache-key }}
151
151
env :
152
- NODE_OPTIONS : ' --max_old_space_size=4096'
152
+ NODE_OPTIONS : " --max_old_space_size=4096"
153
153
YARN_ENABLE_IMMUTABLE_INSTALLS : false
154
154
staticCodeAnalysis :
155
155
needs :
@@ -190,7 +190,40 @@ jobs:
190
190
working-directory : ${{ github.base_ref }}
191
191
runs-on : ubuntu-latest
192
192
env :
193
- NODE_OPTIONS : ' --max_old_space_size=4096'
193
+ NODE_OPTIONS : " --max_old_space_size=4096"
194
+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
195
+ staticCodeAnalysisVerifyDependencies :
196
+ needs :
197
+ - constants
198
+ - build
199
+ name : Static code analysis (verify dependencies)
200
+ steps :
201
+ - uses : actions/setup-node@v4
202
+ with :
203
+ node-version : 20
204
+ - uses : actions/checkout@v4
205
+ with :
206
+ path : ${{ github.base_ref }}
207
+ - uses : actions/cache@v4
208
+ with :
209
+ path : ${{ github.base_ref }}/.yarn/cache
210
+ key : yarn-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
211
+ - uses : actions/cache@v4
212
+ with :
213
+ path : ${{ github.base_ref }}/.webiny/cached-packages
214
+ key : ${{ needs.constants.outputs.run-cache-key }}
215
+ - name : Install dependencies
216
+ run : yarn --immutable
217
+ working-directory : ${{ github.base_ref }}
218
+ - name : Build packages
219
+ run : yarn build:quick
220
+ working-directory : ${{ github.base_ref }}
221
+ - name : Sync Dependencies Verification
222
+ run : yarn webiny verify-dependencies
223
+ working-directory : ${{ github.base_ref }}
224
+ runs-on : ubuntu-latest
225
+ env :
226
+ NODE_OPTIONS : " --max_old_space_size=4096"
194
227
YARN_ENABLE_IMMUTABLE_INSTALLS : false
195
228
staticCodeAnalysisTs :
196
229
name : Static code analysis (TypeScript)
@@ -216,7 +249,7 @@ jobs:
216
249
run : yarn cy:ts
217
250
working-directory : ${{ github.base_ref }}
218
251
env :
219
- NODE_OPTIONS : ' --max_old_space_size=4096'
252
+ NODE_OPTIONS : " --max_old_space_size=4096"
220
253
YARN_ENABLE_IMMUTABLE_INSTALLS : false
221
254
jestTestsNoStorageConstants :
222
255
needs :
@@ -244,7 +277,7 @@ jobs:
244
277
echo '${{
245
278
steps.list-packages-to-jest-test.outputs.packages-to-jest-test }}'
246
279
env :
247
- NODE_OPTIONS : ' --max_old_space_size=4096'
280
+ NODE_OPTIONS : " --max_old_space_size=4096"
248
281
YARN_ENABLE_IMMUTABLE_INSTALLS : false
249
282
jestTestsNoStorageRun :
250
283
needs :
@@ -265,7 +298,7 @@ jobs:
265
298
}}
266
299
runs-on : ${{ matrix.os }}
267
300
env :
268
- NODE_OPTIONS : ' --max_old_space_size=4096'
301
+ NODE_OPTIONS : " --max_old_space_size=4096"
269
302
YARN_ENABLE_IMMUTABLE_INSTALLS : false
270
303
AWS_REGION : eu-central-1
271
304
if : needs.jestTestsNoStorageConstants.outputs.packages-to-jest-test != '[]'
@@ -363,7 +396,7 @@ jobs:
363
396
echo '${{
364
397
steps.list-packages-to-jest-test.outputs.packages-to-jest-test }}'
365
398
env :
366
- NODE_OPTIONS : ' --max_old_space_size=4096'
399
+ NODE_OPTIONS : " --max_old_space_size=4096"
367
400
YARN_ENABLE_IMMUTABLE_INSTALLS : false
368
401
jestTestsddbRun :
369
402
needs :
@@ -383,7 +416,7 @@ jobs:
383
416
fromJson(needs.jestTestsddbConstants.outputs.packages-to-jest-test) }}
384
417
runs-on : ${{ matrix.os }}
385
418
env :
386
- NODE_OPTIONS : ' --max_old_space_size=4096'
419
+ NODE_OPTIONS : " --max_old_space_size=4096"
387
420
YARN_ENABLE_IMMUTABLE_INSTALLS : false
388
421
AWS_REGION : eu-central-1
389
422
if : needs.jestTestsddbConstants.outputs.packages-to-jest-test != '[]'
@@ -480,7 +513,7 @@ jobs:
480
513
echo '${{
481
514
steps.list-packages-to-jest-test.outputs.packages-to-jest-test }}'
482
515
env :
483
- NODE_OPTIONS : ' --max_old_space_size=4096'
516
+ NODE_OPTIONS : " --max_old_space_size=4096"
484
517
YARN_ENABLE_IMMUTABLE_INSTALLS : false
485
518
jestTestsddb-esRun :
486
519
needs :
@@ -501,7 +534,7 @@ jobs:
501
534
}}
502
535
runs-on : ${{ matrix.os }}
503
536
env :
504
- NODE_OPTIONS : ' --max_old_space_size=4096'
537
+ NODE_OPTIONS : " --max_old_space_size=4096"
505
538
YARN_ENABLE_IMMUTABLE_INSTALLS : false
506
539
AWS_REGION : eu-central-1
507
540
AWS_ELASTIC_SEARCH_DOMAIN_NAME : ${{ secrets.AWS_ELASTIC_SEARCH_DOMAIN_NAME }}
@@ -610,7 +643,7 @@ jobs:
610
643
echo '${{
611
644
steps.list-packages-to-jest-test.outputs.packages-to-jest-test }}'
612
645
env :
613
- NODE_OPTIONS : ' --max_old_space_size=4096'
646
+ NODE_OPTIONS : " --max_old_space_size=4096"
614
647
YARN_ENABLE_IMMUTABLE_INSTALLS : false
615
648
jestTestsddb-osRun :
616
649
needs :
@@ -631,7 +664,7 @@ jobs:
631
664
}}
632
665
runs-on : ${{ matrix.os }}
633
666
env :
634
- NODE_OPTIONS : ' --max_old_space_size=4096'
667
+ NODE_OPTIONS : " --max_old_space_size=4096"
635
668
YARN_ENABLE_IMMUTABLE_INSTALLS : false
636
669
AWS_REGION : eu-central-1
637
670
AWS_ELASTIC_SEARCH_DOMAIN_NAME : ${{ secrets.AWS_OPEN_SEARCH_DOMAIN_NAME }}
0 commit comments