--- 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 --- 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 --- 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 --- 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 --- 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 --- 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: | --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- 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 --- a/js-packages/tests/package.json +++ b/js-packages/tests/package.json @@ -13,9 +13,9 @@ "mocha": "^10.1.0" }, "scripts": { - "setup": "yarn ts-node --esm ./util/globalSetup.ts", - "setIdentities": "yarn ts-node --esm ./util/identitySetter.ts", - "checkRelayIdentities": "yarn ts-node --esm ./util/relayIdentitiesChecker.ts", + "setup": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/globalSetup.ts", + "setIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/identitySetter.ts", + "checkRelayIdentities": "yarn node --no-warnings=ExperimentalWarning --loader ts-node/esm ./util/relayIdentitiesChecker.ts", "_test": "yarn setup && yarn mocha --timeout 9999999 --loader=ts-node/esm.mjs", "_testParallel": "yarn setup && yarn mocha --timeout 9999999 --parallel --loader=ts-node/esm.mjs", "test": "yarn _test './**/*.*test.ts'",