From fafdcc96da84e14218e5df69fbe42027e7431747 Mon Sep 17 00:00:00 2001 From: girazoki Date: Tue, 5 Nov 2024 12:00:51 +0100 Subject: [PATCH] use node 22 (#740) --- .../typescript-tests-moonwall/action.yml | 2 +- .../zombienet-tests/action.yml | 2 +- .github/workflows/client-release-issue.yml | 4 +-- .../workflows/publish-binary-tannsi-relay.yml | 4 +-- .github/workflows/publish-binary.yml | 4 +-- .github/workflows/publish-runtime-chevdor.yml | 4 +-- .github/workflows/publish-runtime.yml | 4 +-- .github/workflows/publish-typescript-api.yml | 4 +-- .github/workflows/release.yml | 26 +++++++++---------- .github/workflows/run-zombienet-tests.yml | 2 +- .github/workflows/runtime-release-issue.yml | 2 +- .github/workflows/upgrade-typescript-api.yml | 4 +-- .github/workflows/version-bump.yml | 2 +- 13 files changed, 32 insertions(+), 32 deletions(-) diff --git a/.github/workflow-templates/typescript-tests-moonwall/action.yml b/.github/workflow-templates/typescript-tests-moonwall/action.yml index d70fea160..dbc359bb8 100644 --- a/.github/workflow-templates/typescript-tests-moonwall/action.yml +++ b/.github/workflow-templates/typescript-tests-moonwall/action.yml @@ -29,7 +29,7 @@ runs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Install typescript-api diff --git a/.github/workflow-templates/zombienet-tests/action.yml b/.github/workflow-templates/zombienet-tests/action.yml index aeb6d7ca8..7ff026b73 100644 --- a/.github/workflow-templates/zombienet-tests/action.yml +++ b/.github/workflow-templates/zombienet-tests/action.yml @@ -19,7 +19,7 @@ runs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Download binaries" diff --git a/.github/workflows/client-release-issue.yml b/.github/workflows/client-release-issue.yml index 1ab9e8307..187308091 100644 --- a/.github/workflows/client-release-issue.yml +++ b/.github/workflows/client-release-issue.yml @@ -26,10 +26,10 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 - - name: Use Node.js 18.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish-binary-tannsi-relay.yml b/.github/workflows/publish-binary-tannsi-relay.yml index b07629a63..fe5dd6b25 100644 --- a/.github/workflows/publish-binary-tannsi-relay.yml +++ b/.github/workflows/publish-binary-tannsi-relay.yml @@ -73,10 +73,10 @@ jobs: with: ref: ${{ github.event.inputs.to }} fetch-depth: 0 - - name: Use Node.js 18.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish-binary.yml b/.github/workflows/publish-binary.yml index 4f7575ea1..7c6ae2afc 100644 --- a/.github/workflows/publish-binary.yml +++ b/.github/workflows/publish-binary.yml @@ -73,10 +73,10 @@ jobs: with: ref: ${{ github.event.inputs.to }} fetch-depth: 0 - - name: Use Node.js 18.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish-runtime-chevdor.yml b/.github/workflows/publish-runtime-chevdor.yml index 6b68efd86..a3cf6d91e 100644 --- a/.github/workflows/publish-runtime-chevdor.yml +++ b/.github/workflows/publish-runtime-chevdor.yml @@ -133,10 +133,10 @@ jobs: with: ref: ${{ github.event.inputs.to }} fetch-depth: 0 - - name: Use Node.js 18.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish-runtime.yml b/.github/workflows/publish-runtime.yml index f99fc3d8a..4d00a8722 100644 --- a/.github/workflows/publish-runtime.yml +++ b/.github/workflows/publish-runtime.yml @@ -163,10 +163,10 @@ jobs: with: ref: ${{ github.event.inputs.to }} fetch-depth: 0 - - name: Use Node.js 18.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/publish-typescript-api.yml b/.github/workflows/publish-typescript-api.yml index 071328740..9eb1d8d32 100644 --- a/.github/workflows/publish-typescript-api.yml +++ b/.github/workflows/publish-typescript-api.yml @@ -40,10 +40,10 @@ jobs: uses: pnpm/action-setup@v4.0.0 with: version: 9 - - name: Use Node.js 20.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: 'pnpm' - name: Build typescript API run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8d4da0d43..4750333c3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -191,7 +191,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Formatting check" run: | @@ -214,7 +214,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Linting check" run: | @@ -419,7 +419,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Generate Local interfaces" run: | @@ -452,7 +452,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Generate typescript api" run: | @@ -487,7 +487,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Generate typescript api" run: | @@ -517,7 +517,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Download binaries" uses: actions/download-artifact@v4 @@ -552,7 +552,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Download binaries" uses: actions/download-artifact@v4 @@ -587,7 +587,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Download binaries" uses: actions/download-artifact@v4 @@ -621,7 +621,7 @@ jobs: - name: "Setup Node" uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: "Generate typescript api" run: | @@ -683,7 +683,7 @@ jobs: version: 9 - uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Create local folders run: | @@ -720,7 +720,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Create local folders @@ -803,7 +803,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Create local folders @@ -850,7 +850,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Create local folders diff --git a/.github/workflows/run-zombienet-tests.yml b/.github/workflows/run-zombienet-tests.yml index 1a08aab42..75954f7c0 100644 --- a/.github/workflows/run-zombienet-tests.yml +++ b/.github/workflows/run-zombienet-tests.yml @@ -38,7 +38,7 @@ jobs: - name: Setup Node uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: "pnpm" - name: Get test names diff --git a/.github/workflows/runtime-release-issue.yml b/.github/workflows/runtime-release-issue.yml index 6048c01b5..222dc3af2 100644 --- a/.github/workflows/runtime-release-issue.yml +++ b/.github/workflows/runtime-release-issue.yml @@ -32,7 +32,7 @@ jobs: - name: Use Node.js 20.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - name: Download Original Tools uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/upgrade-typescript-api.yml b/.github/workflows/upgrade-typescript-api.yml index 1476c1e58..8e86bee9a 100644 --- a/.github/workflows/upgrade-typescript-api.yml +++ b/.github/workflows/upgrade-typescript-api.yml @@ -58,10 +58,10 @@ jobs: uses: pnpm/action-setup@v4.0.0 with: version: 9 - - name: Use Node.js 20.x + - name: Use Node.js 22.x uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - name: Regenerate typescript api with new runtime metadata run: | cd typescript-api diff --git a/.github/workflows/version-bump.yml b/.github/workflows/version-bump.yml index 7fbf61af9..024c524be 100644 --- a/.github/workflows/version-bump.yml +++ b/.github/workflows/version-bump.yml @@ -18,7 +18,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: 20.10.0 + node-version: 22.11.0 - name: Generate version bump issue env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}