75
75
needs : create-release-branch
76
76
name : Run All Benchmarks - Build
77
77
runs-on : ubicloud-standard-16
78
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
78
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
79
79
permissions :
80
80
contents : read
81
81
steps :
@@ -154,7 +154,7 @@ jobs:
154
154
needs : run-all-benchmarks-bench
155
155
name : Run All Benchmarks - Test
156
156
runs-on : ubicloud-standard-16
157
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
157
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
158
158
steps :
159
159
- name : Check Out Repo
160
160
uses : actions/checkout@v4
@@ -233,7 +233,7 @@ jobs:
233
233
- arch : arm64
234
234
runner : ubicloud-standard-16-arm
235
235
runs-on : ${{matrix.runner}}
236
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
236
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
237
237
env :
238
238
SIGNING_SUBKEY_FINGERPRINT : B6327D1474C6392032870E8EFA4FD1E73A0FE707
239
239
steps :
@@ -394,7 +394,7 @@ jobs:
394
394
needs : version-code
395
395
name : Build Rust Developer Docs
396
396
runs-on : ubicloud-standard-4
397
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
397
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
398
398
steps :
399
399
- name : Check Out Repo
400
400
uses : actions/checkout@v4
@@ -427,7 +427,7 @@ jobs:
427
427
RELEASE_FILENAME_PREFIX : frequency-local
428
428
ARCH : amd64
429
429
runs-on : ubuntu-24.04
430
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
430
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
431
431
steps :
432
432
- name : Set Env Vars
433
433
run : |
@@ -476,10 +476,39 @@ jobs:
476
476
path : js/api-augment/dist
477
477
if-no-files-found : error
478
478
479
+ build-js-ethereum-utils :
480
+ name : Build JS Ethereum utils
481
+ runs-on : ubuntu-24.04
482
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
483
+ steps :
484
+ - name : Check Out Repo
485
+ uses : actions/checkout@v4
486
+ with :
487
+ ref : ${{env.RELEASE_BRANCH_NAME}}
488
+ - name : Set up NodeJs
489
+ uses : actions/setup-node@v4
490
+ with :
491
+ node-version : 20
492
+ cache : " npm"
493
+ registry-url : " https://registry.npmjs.org"
494
+ cache-dependency-path : js/ethereum-utils/package-lock.json
495
+ - name : Install
496
+ run : npm ci
497
+ working-directory : js/ethereum-utils
498
+ - name : Build
499
+ run : npm run build
500
+ working-directory : js/ethereum-utils
501
+ - name : Upload Dist Dir
502
+ uses : actions/upload-artifact@v4
503
+ with :
504
+ name : js-ethereum-utils-${{github.run_id}}
505
+ path : js/ethereum-utils/dist
506
+ if-no-files-found : error
507
+
479
508
build-js-schemas :
480
509
name : Build JS Schemas
481
510
runs-on : ubuntu-24.04
482
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
511
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
483
512
steps :
484
513
- name : Check Out Repo
485
514
uses : actions/checkout@v4
@@ -705,6 +734,7 @@ jobs:
705
734
test-version-matches-release,
706
735
build-rust-developer-docs,
707
736
build-js-api-augment,
737
+ build-js-ethereum-utils,
708
738
build-js-schemas,
709
739
]
710
740
name : Wait for All Builds to Finish
@@ -721,7 +751,7 @@ jobs:
721
751
needs : wait-for-all-builds
722
752
name : Release Built Artifacts
723
753
runs-on : ubuntu-24.04
724
- container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
754
+ container : ghcr.io/frequency-chain/frequency/ci-base-image:1.5.7
725
755
permissions :
726
756
contents : write
727
757
steps :
@@ -1205,6 +1235,52 @@ jobs:
1205
1235
env :
1206
1236
NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
1207
1237
1238
+ release-js-ethereum-utils :
1239
+ needs : wait-for-all-builds
1240
+ name : Release JS Ethereum utils
1241
+ runs-on : ubuntu-24.04
1242
+ steps :
1243
+ - name : Check Out Repo
1244
+ uses : actions/checkout@v4
1245
+ with :
1246
+ ref : ${{env.RELEASE_BRANCH_NAME}}
1247
+ - name : Full Release?
1248
+ id : is-full-release
1249
+ uses : ./.github/workflows/common/is-full-release
1250
+ with :
1251
+ version-tag : ${{env.NEW_RELEASE_TAG}}
1252
+ - name : Set up NodeJs
1253
+ uses : actions/setup-node@v4
1254
+ with :
1255
+ node-version : 20
1256
+ cache : " npm"
1257
+ registry-url : " https://registry.npmjs.org"
1258
+ cache-dependency-path : js/ethereum-utils/package-lock.json
1259
+ - name : Download Dist Dir
1260
+ id : download
1261
+ uses : actions/download-artifact@v4
1262
+ with :
1263
+ name : js-ethereum-utils-${{github.run_id}}
1264
+ path : js/ethereum-utils/dist
1265
+ - name : Version Package
1266
+ if : env.TEST_RUN != 'true'
1267
+ run : npm version --new-version "${{env.NEW_RELEASE_TAG}}" --no-git-tag-version
1268
+ working-directory : js/ethereum-utils/dist
1269
+ - name : Release on NPM @latest
1270
+ if : env.TEST_RUN != 'true' &&
1271
+ steps.is-full-release.outputs.is-full-release == 'true'
1272
+ run : npm publish --tag latest --access public
1273
+ working-directory : ./js/ethereum-utils/dist
1274
+ env :
1275
+ NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
1276
+ - name : Release Candidate on NPM
1277
+ if : env.TEST_RUN != 'true' &&
1278
+ steps.is-full-release.outputs.is-full-release != 'true'
1279
+ run : npm publish --tag next --access public
1280
+ working-directory : ./js/ethereum-utils/dist
1281
+ env :
1282
+ NODE_AUTH_TOKEN : ${{secrets.NODE_AUTH_TOKEN}}
1283
+
1208
1284
release-js-schemas :
1209
1285
needs : wait-for-all-builds
1210
1286
name : Release JS Schemas
0 commit comments