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
--- 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: 16
+          node-version: 18
       - name: Install modules
         run: cd tests && 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: 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
before · .github/workflows/make-bench.yml
1# https://cryptousetech.atlassian.net/wiki/spaces/CI/pages/2586837012/Code+style+testing2# Nested workflow for checks related to formatting Rust code 34name: make-bench56# Triger: only call from main workflow(re-usable workflows)7on:8  push:9    branches:10      - "feature/ci-make-bench"11  workflow_dispatch:1213jobs:14  make-bench:15    runs-on: [ bench ]16    steps:17      - name: Clean Workspace18        uses: AutoModality/action-clean@v1.1.01920      - uses: actions/checkout@v3.3.021        with:22          ref: develop 2324      - name: Read .env file25        uses: xom9ikk/dotenv@v2.1.1        2627      - name: Install substrate dependencies28        run: sudo apt install -y curl cmake make libssl-dev pkg-config libclang-dev clang protobuf-compiler2930      - name: Install actual toolchain31        uses: actions-rs/toolchain@v1.0.732        with:33            toolchain: ${{ env.RUST_TOOLCHAIN }}34            default: true35            target: wasm32-unknown-unknown3637      - uses: actions/setup-node@v338        with:39          node-version: 164041      - name: RUN benchmarking42        run: |43          time make bench4445      - name: Run node dev mode in background46        working-directory: ./47        run: |48          ./target/release/unique-collator --dev &4950      - name: RUN Calibrate51        working-directory: ./tests52        run: |53          yarn install54          yarn ts-node --esm src/calibrate.ts55          yarn ts-node --esm src/calibrateApply.ts56          57      - name: show git diff58        run: |59          git diff6061      - name: Create Pull Request62        uses: peter-evans/create-pull-request@v4.2.363        with:64          base: develop65          branch: ci/make-bench66          commit-message: commit benchmarking67          committer: Unique <noreply@github.com>68          author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>69          signoff: false70          delete-branch: true71          title: 'CI Make Benchmarking'72          assignees: CertainLach73          reviewers: CertainLach
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