git.delta.rocks / unique-network / refs/commits / 320ac9b7c893

difftreelog

ci update nodejs version to 18 (#987)

BuddyGlas2023-09-07parent: #d3757b6.patch.diff
in: master

12 files changed

modified.github/workflows/codestyle.ymldiffbeforeafterboth
before · .github/workflows/codestyle.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837012/Code+style+testing2# Nested workflow for checks related to formatting Rust code 34name: codestyle56# Triger: only call from main workflow(re-usable workflows)7on:8  workflow_call:910jobs:11  rustfmt:12    runs-on: [ self-hosted-ci ]13    steps:14      - name: Clean Workspace15        uses: AutoModality/action-clean@v1.1.016      - uses: actions/checkout@v3.1.017        with:18          ref: ${{ github.head_ref }}            19      - name: Read .env file20        uses: xom9ikk/dotenv@v2          21      - name: Install toolchain version from .env22        uses: dtolnay/rust-toolchain@master23        with:24            toolchain: ${{ env.RUST_TOOLCHAIN }}25            targets: wasm32-unknown-unknown26            components: rustfmt, clippy27      - name: Run cargo fmt28        run: cargo fmt -- --check   # In that mode it returns only exit code.29      - name: Cargo fmt state30        if: success()31        run: echo "Nothing to do. Command 'cargo fmt -- --check' returned exit code 0."3233  yarn_eslint:34    runs-on: [ self-hosted-ci ]35    steps:36      - name: Clean Workspace37        uses: AutoModality/action-clean@v1.1.038      - uses: actions/checkout@v3.1.039        with:40          ref: ${{ github.head_ref }}            41      - uses: actions/setup-node@v3.5.142        with:43          node-version: 1644      - name: Install modules45        run: cd tests && yarn46      - name: Run ESLint47        run: cd tests && yarn eslint --ext .ts,.js --max-warnings=0 src/4849  clippy:50    runs-on: [ self-hosted-ci ]51    steps:52      - uses: actions/checkout@v3.1.053      - name: Install substrate dependencies54        run: sudo apt install -y libssl-dev pkg-config libclang-dev clang protobuf-compiler55      - name: Read .env file56        uses: xom9ikk/dotenv@v257      - name: Install toolchain version from .env58        uses: dtolnay/rust-toolchain@master59        with:60            toolchain: ${{ env.RUST_TOOLCHAIN }}61            targets: wasm32-unknown-unknown62            components: rustfmt, clippy63      - name: Run cargo check64        run: cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests -- -Dwarnings65        env:66          SKIP_WASM_BUILD: '1'
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: 16
+          node-version: 18
 
       - 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
@@ -192,7 +192,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 16
+          node-version: 18
 
       - name: Check if docker logs consist logs related to Runtime Upgrade testing.
         if: success()
modified.github/workflows/forkless-update-nodata.ymldiffbeforeafterboth
--- a/.github/workflows/forkless-update-nodata.yml
+++ b/.github/workflows/forkless-update-nodata.yml
@@ -202,7 +202,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 16
+          node-version: 18
 
       - name: Check if docker logs consist logs related to Runtime Upgrade testing.
         if: success()
modified.github/workflows/governance.ymldiffbeforeafterboth
--- a/.github/workflows/governance.yml
+++ b/.github/workflows/governance.yml
@@ -78,7 +78,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 16
+          node-version: 18
 
       - name: Run tests
         working-directory: 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: 16
+          node-version: 18
 
       - 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: 16.17
+          node-version: 18
 
       - 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: 16
+          node-version: 18
 
       - 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: 16
+          node-version: 18
 
       # - 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: 16
+          node-version: 18
 
       - 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
@@ -297,7 +297,7 @@
 
       - uses: actions/setup-node@v3.5.1
         with:
-          node-version: 16
+          node-version: 18
 
       - name: Install baedeker
         uses: UniqueNetwork/baedeker-action/setup@built
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: 16
+          node-version: 18
 
       - name: Run tests
         working-directory: tests