difftreelog
ci update nodejs version to 18 (#987)
in: master
12 files changed
.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
.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
.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()
.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()
.github/workflows/governance.ymldiffbeforeafterboth1# Governance tests in --dev mode with gov-test-timings feature enabled to reduce gov timings2name: governance tests34# Triger: only call from main workflow(re-usable workflows)5on:6 workflow_call:78# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:10 prepare-execution-marix:11 name: Prepare execution matrix1213 runs-on: self-hosted-ci14 outputs:15 matrix: ${{ steps.create_matrix.outputs.matrix }}1617 steps:18 - name: Clean Workspace19 uses: AutoModality/action-clean@v1.1.02021 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it22 - uses: actions/checkout@v3.1.023 with:24 ref: ${{ github.head_ref }} #Checking out head commit2526 - name: Read .env file27 uses: xom9ikk/dotenv@v22829 - name: Create Execution matrix30 uses: CertainLach/create-matrix-action@v431 id: create_matrix32 with:33 matrix: |34 network {quartz}, wasm_name {quartz}35 network {opal}, wasm_name {opal}36 network {sapphire}, wasm_name {quartz}3738 dev_build_int_tests:39 needs: prepare-execution-marix40 # The type of runner that the job will run on41 runs-on: [self-hosted-ci, medium]42 timeout-minutes: 13804344 name: ${{ matrix.network }}45 strategy:46 matrix:47 include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}4849 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.5051 steps:52 - name: Clean Workspace53 uses: AutoModality/action-clean@v1.1.05455 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it56 - uses: actions/checkout@v3.1.057 with:58 ref: ${{ github.head_ref }} #Checking out head commit5960 - name: Read .env file61 uses: xom9ikk/dotenv@v26263 - name: Generate ENV related extend file for docker-compose64 uses: cuchi/jinja2-action@v1.2.065 with:66 template: .docker/docker-compose.gov.j267 output_file: .docker/docker-compose.${{ matrix.network }}.yml68 variables: |69 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}70 NETWORK=${{ matrix.network }}71 WASM_NAME=${{ matrix.wasm_name }}7273 - name: Show build configuration74 run: cat .docker/docker-compose.${{ matrix.network }}.yml7576 - name: Build the stack77 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans7879 - uses: actions/setup-node@v3.5.180 with:81 node-version: 168283 - name: Run tests84 working-directory: tests85 run: |86 yarn install87 yarn add mochawesome88 ./scripts/wait_for_first_block.sh89 echo "Ready to start tests"90 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}91 env:92 RPC_URL: http://127.0.0.1:9944/9394 - name: Test Report95 uses: phoenix-actions/test-reporting@v1096 id: test-report97 if: success() || failure() # run this step even if previous step failed98 with:99 name: int test results - ${{ matrix.network }} # Name of the check run which will be created100 path: tests/mochawesome-report/test-*.json # Path to test results101 reporter: mochawesome-json102 fail-on-error: 'false'103104 - name: Read output variables105 run: |106 echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"107108 - name: Stop running containers109 if: always() # run this step always110 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down111112 - name: Remove builder cache113 if: always() # run this step always114 run: |115 docker builder prune -f -a116 docker system prune -f117 docker image prune -f -a1# Governance tests in --dev mode with gov-test-timings feature enabled to reduce gov timings2name: governance tests34# Triger: only call from main workflow(re-usable workflows)5on:6 workflow_call:78# A workflow run is made up of one or more jobs that can run sequentially or in parallel9jobs:10 prepare-execution-marix:11 name: Prepare execution matrix1213 runs-on: self-hosted-ci14 outputs:15 matrix: ${{ steps.create_matrix.outputs.matrix }}1617 steps:18 - name: Clean Workspace19 uses: AutoModality/action-clean@v1.1.02021 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it22 - uses: actions/checkout@v3.1.023 with:24 ref: ${{ github.head_ref }} #Checking out head commit2526 - name: Read .env file27 uses: xom9ikk/dotenv@v22829 - name: Create Execution matrix30 uses: CertainLach/create-matrix-action@v431 id: create_matrix32 with:33 matrix: |34 network {quartz}, wasm_name {quartz}35 network {opal}, wasm_name {opal}36 network {sapphire}, wasm_name {quartz}3738 dev_build_int_tests:39 needs: prepare-execution-marix40 # The type of runner that the job will run on41 runs-on: [self-hosted-ci, medium]42 timeout-minutes: 13804344 name: ${{ matrix.network }}45 strategy:46 matrix:47 include: ${{fromJson(needs.prepare-execution-marix.outputs.matrix)}}4849 continue-on-error: true #Do not stop testing of matrix runs failed. As it decided during PR review - it required 50/50& Let's check it with false.5051 steps:52 - name: Clean Workspace53 uses: AutoModality/action-clean@v1.1.05455 # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it56 - uses: actions/checkout@v3.1.057 with:58 ref: ${{ github.head_ref }} #Checking out head commit5960 - name: Read .env file61 uses: xom9ikk/dotenv@v26263 - name: Generate ENV related extend file for docker-compose64 uses: cuchi/jinja2-action@v1.2.065 with:66 template: .docker/docker-compose.gov.j267 output_file: .docker/docker-compose.${{ matrix.network }}.yml68 variables: |69 RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }}70 NETWORK=${{ matrix.network }}71 WASM_NAME=${{ matrix.wasm_name }}7273 - name: Show build configuration74 run: cat .docker/docker-compose.${{ matrix.network }}.yml7576 - name: Build the stack77 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" up -d --build --remove-orphans7879 - uses: actions/setup-node@v3.5.180 with:81 node-version: 188283 - name: Run tests84 working-directory: tests85 run: |86 yarn install87 yarn add mochawesome88 ./scripts/wait_for_first_block.sh89 echo "Ready to start tests"90 NOW=$(date +%s) && yarn testGovernance --reporter mochawesome --reporter-options reportFilename=test-${NOW}91 env:92 RPC_URL: http://127.0.0.1:9944/9394 - name: Test Report95 uses: phoenix-actions/test-reporting@v1096 id: test-report97 if: success() || failure() # run this step even if previous step failed98 with:99 name: int test results - ${{ matrix.network }} # Name of the check run which will be created100 path: tests/mochawesome-report/test-*.json # Path to test results101 reporter: mochawesome-json102 fail-on-error: 'false'103104 - name: Read output variables105 run: |106 echo "url is ${{ steps.test-report.outputs.runHtmlUrl }}"107108 - name: Stop running containers109 if: always() # run this step always110 run: docker-compose -f ".docker/docker-compose.${{ matrix.network }}.yml" down111112 - name: Remove builder cache113 if: always() # run this step always114 run: |115 docker builder prune -f -a116 docker system prune -f117 docker image prune -f -a.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: |
.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
.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
.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
.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
.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
.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