git.delta.rocks / unique-network / refs/commits / 2b9417a2a3f5

difftreelog

upgrade nodejs version & fix error

Konstantin Astakhov2023-12-18parent: #430b020.patch.diff
in: master

14 files changed

modified.github/workflows/codestyle.ymldiffbeforeafterboth
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -40,7 +40,7 @@
           ref: ${{ github.head_ref }}            
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
       - name: Install modules
         run: cd js-packages && yarn
       - name: Run ESLint
modified.github/workflows/collator-selection.ymldiffbeforeafterboth
--- a/.github/workflows/collator-selection.yml
+++ b/.github/workflows/collator-selection.yml
@@ -146,7 +146,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
modified.github/workflows/forkless-update-data.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-data.yml
+++ b/.github/workflows/forkless-update-data.yml
@@ -122,7 +122,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -137,7 +137,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
modified.github/workflows/governance.ymldiffbeforeafterboth
--- a/.github/workflows/governance.yml
+++ b/.github/workflows/governance.yml
@@ -79,7 +79,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Run tests
         working-directory: js-packages/tests
modified.github/workflows/make-bench.ymldiffbeforeafterboth
--- a/.github/workflows/make-bench.yml
+++ b/.github/workflows/make-bench.yml
@@ -36,7 +36,7 @@
 
       - uses: actions/setup-node@v3
         with:
-          node-version: 18
+          node-version:  20
 
       - name: RUN benchmarking
         run: |
modified.github/workflows/market-test.ymldiffbeforeafterboth
--- a/.github/workflows/market-test.yml
+++ b/.github/workflows/market-test.yml
@@ -103,7 +103,7 @@
      
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Setup TypeScript
         working-directory: qa-tests
modified.github/workflows/node-only-update.ymldiffbeforeafterboth
--- a/.github/workflows/node-only-update.yml
+++ b/.github/workflows/node-only-update.yml
@@ -143,7 +143,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
modified.github/workflows/polkadot-types.ymldiffbeforeafterboth
--- a/.github/workflows/polkadot-types.yml
+++ b/.github/workflows/polkadot-types.yml
@@ -68,7 +68,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       # - name: Install jq
       #   run: sudo apt install jq -y
modified.github/workflows/try-runtime.ymldiffbeforeafterboth
--- a/.github/workflows/try-runtime.yml
+++ b/.github/workflows/try-runtime.yml
@@ -175,7 +175,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Log in to Docker Hub
         uses: docker/login-action@v2.1.0
modified.github/workflows/xcm.ymldiffbeforeafterboth
--- a/.github/workflows/xcm.yml
+++ b/.github/workflows/xcm.yml
@@ -327,7 +327,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
modified.github/workflows/xnft.ymldiffbeforeafterboth
--- a/.github/workflows/xnft.yml
+++ b/.github/workflows/xnft.yml
@@ -159,7 +159,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Clone xnft-tests
         run: git clone https://github.com/UniqueNetwork/xnft-tests.git
modified.github/workflows/yarn-dev.ymldiffbeforeafterboth
--- a/.github/workflows/yarn-dev.yml
+++ b/.github/workflows/yarn-dev.yml
@@ -59,7 +59,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 18
+          node-version:  20
 
       - name: Run tests
         working-directory: js-packages/tests
modifiedjs-packages/tests/package.jsondiffbeforeafterboth
after · js-packages/tests/package.json
1{2    "author": "",3    "license": "SEE LICENSE IN ../../../LICENSE",4    "description": "Interfaces for interacting with contracts and contract ABIs",5    "engines": {6        "node": ">=16"7    },8    "name": "@unique/tests",9    "type": "module",10    "version": "1.0.0",11    "main": "",12    "devDependencies": {13        "mocha": "^10.1.0"14    },15    "scripts": {16        "setup": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/globalSetup.ts",17        "setIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/identitySetter.ts",18        "checkRelayIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/relayIdentitiesChecker.ts",19        "_test": "yarn setup && yarn mocha --timeout 9999999 --loader=ts-node/esm.mjs",20        "_testParallel": "yarn setup && yarn mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",21        "test": "yarn _test './**/*.*test.ts'",22        "testParallel": "yarn _testParallel './**/*.test.ts'",23        "testSequential": "yarn _test './**/*.seqtest.ts'",24        "testEth": "yarn _test ./**/eth/*.*test.ts",25        "testGovernance": "RUN_GOV_TESTS=1 yarn _test ./**/sub/governance/*.*test.ts",26        "testCollators": "RUN_COLLATOR_TESTS=1 yarn _test ./**/sub/collator-selection/**.*test.ts --timeout 49999999",27        "testFullXcmUnique": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/*Unique.test.ts",28        "testFullXcmQuartz": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/*Quartz.test.ts",29        "testXcmOpal": "RUN_XCM_TESTS=1 yarn _test ./**/xcm/xcmOpal.test.ts",30        "load": "yarn _test './**/*.load.ts'"31    }32}