difftreelog
upgrade nodejs version & fix error
in: master
14 files changed
.github/workflows/codestyle.ymldiffbeforeafterboth40 ref: ${{ github.head_ref }} 40 ref: ${{ github.head_ref }} 41 - uses: actions/setup-node@v3.5.141 - uses: actions/setup-node@v3.5.142 with:42 with:43 node-version: 1843 node-version: 2044 - name: Install modules44 - name: Install modules45 run: cd js-packages && yarn45 run: cd js-packages && yarn46 - name: Run ESLint46 - name: Run ESLint.github/workflows/collator-selection.ymldiffbeforeafterboth146146147 - uses: actions/setup-node@v3.5.1147 - uses: actions/setup-node@v3.5.1148 with:148 with:149 node-version: 18149 node-version: 20150150151 - name: Install baedeker151 - name: Install baedeker152 uses: UniqueNetwork/baedeker-action/setup@built152 uses: UniqueNetwork/baedeker-action/setup@built.github/workflows/forkless-update-data.ymldiffbeforeafterboth122122123 - uses: actions/setup-node@v3.5.1123 - uses: actions/setup-node@v3.5.1124 with:124 with:125 node-version: 18125 node-version: 20126126127 - name: Install baedeker127 - name: Install baedeker128 uses: UniqueNetwork/baedeker-action/setup@built128 uses: UniqueNetwork/baedeker-action/setup@built.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth137137138 - uses: actions/setup-node@v3.5.1138 - uses: actions/setup-node@v3.5.1139 with:139 with:140 node-version: 18140 node-version: 20141141142 - name: Install baedeker142 - name: Install baedeker143 uses: UniqueNetwork/baedeker-action/setup@built143 uses: UniqueNetwork/baedeker-action/setup@built.github/workflows/governance.ymldiffbeforeafterboth797980 - uses: actions/setup-node@v3.5.180 - uses: actions/setup-node@v3.5.181 with:81 with:82 node-version: 1882 node-version: 20838384 - name: Run tests84 - name: Run tests85 working-directory: js-packages/tests85 working-directory: js-packages/tests.github/workflows/make-bench.ymldiffbeforeafterboth363637 - uses: actions/setup-node@v337 - uses: actions/setup-node@v338 with:38 with:39 node-version: 1839 node-version: 20404041 - name: RUN benchmarking41 - name: RUN benchmarking42 run: |42 run: |.github/workflows/market-test.ymldiffbeforeafterboth103 103 104 - uses: actions/setup-node@v3.5.1104 - uses: actions/setup-node@v3.5.1105 with:105 with:106 node-version: 18106 node-version: 20107107108 - name: Setup TypeScript108 - name: Setup TypeScript109 working-directory: qa-tests109 working-directory: qa-tests.github/workflows/node-only-update.ymldiffbeforeafterboth143143144 - uses: actions/setup-node@v3.5.1144 - uses: actions/setup-node@v3.5.1145 with:145 with:146 node-version: 18146 node-version: 20147147148 - name: Install baedeker148 - name: Install baedeker149 uses: UniqueNetwork/baedeker-action/setup@built149 uses: UniqueNetwork/baedeker-action/setup@built.github/workflows/polkadot-types.ymldiffbeforeafterboth686869 - uses: actions/setup-node@v3.5.169 - uses: actions/setup-node@v3.5.170 with:70 with:71 node-version: 1871 node-version: 20727273 # - name: Install jq73 # - name: Install jq74 # run: sudo apt install jq -y74 # run: sudo apt install jq -y.github/workflows/try-runtime.ymldiffbeforeafterboth175175176 - uses: actions/setup-node@v3.5.1176 - uses: actions/setup-node@v3.5.1177 with:177 with:178 node-version: 18178 node-version: 20179179180 - name: Log in to Docker Hub180 - name: Log in to Docker Hub181 uses: docker/login-action@v2.1.0181 uses: docker/login-action@v2.1.0.github/workflows/xcm.ymldiffbeforeafterboth327327328 - uses: actions/setup-node@v3.5.1328 - uses: actions/setup-node@v3.5.1329 with:329 with:330 node-version: 18330 node-version: 20331331332 - name: Install baedeker332 - name: Install baedeker333 uses: UniqueNetwork/baedeker-action/setup@built333 uses: UniqueNetwork/baedeker-action/setup@built.github/workflows/xnft.ymldiffbeforeafterboth159159160 - uses: actions/setup-node@v3.5.1160 - uses: actions/setup-node@v3.5.1161 with:161 with:162 node-version: 18162 node-version: 20163163164 - name: Clone xnft-tests164 - name: Clone xnft-tests165 run: git clone https://github.com/UniqueNetwork/xnft-tests.git165 run: git clone https://github.com/UniqueNetwork/xnft-tests.git.github/workflows/yarn-dev.ymldiffbeforeafterboth595960 - uses: actions/setup-node@v3.5.160 - uses: actions/setup-node@v3.5.161 with:61 with:62 node-version: 1862 node-version: 20636364 - name: Run tests64 - name: Run tests65 working-directory: js-packages/tests65 working-directory: js-packages/testsjs-packages/tests/package.jsondiffbeforeafterboth13 "mocha": "^10.1.0"13 "mocha": "^10.1.0"14 },14 },15 "scripts": {15 "scripts": {16 "setup": "yarn ts-node --esm ./util/globalSetup.ts",16 "setup": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/globalSetup.ts",17 "setIdentities": "yarn ts-node --esm ./util/identitySetter.ts",17 "setIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/identitySetter.ts",18 "checkRelayIdentities": "yarn ts-node --esm ./util/relayIdentitiesChecker.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",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",20 "_testParallel": "yarn setup && yarn mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs",21 "test": "yarn _test './**/*.*test.ts'",21 "test": "yarn _test './**/*.*test.ts'",