From 1a0e6ee484509b2020aad19930fd2f85c16ebc11 Mon Sep 17 00:00:00 2001 From: Ermal Kaleci Date: Thu, 7 Nov 2024 10:30:22 +0100 Subject: [PATCH] update gha node version --- .github/workflows/check-migrations.yml | 2 +- .github/workflows/e2e-tests.yaml | 2 +- .github/workflows/runtime-upgrade-test.yaml | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/check-migrations.yml b/.github/workflows/check-migrations.yml index 44c2e007f..71bbf1c30 100644 --- a/.github/workflows/check-migrations.yml +++ b/.github/workflows/check-migrations.yml @@ -28,7 +28,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x - name: Install deps run: sudo apt -y install protobuf-compiler diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index fe781b912..a45fb21fa 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -21,7 +21,7 @@ jobs: - name: Setup node uses: actions/setup-node@v4 with: - node-version: 18.x + node-version: 20.x cache: 'yarn' cache-dependency-path: e2e-tests/yarn.lock diff --git a/.github/workflows/runtime-upgrade-test.yaml b/.github/workflows/runtime-upgrade-test.yaml index 7353ca45f..e316c991f 100644 --- a/.github/workflows/runtime-upgrade-test.yaml +++ b/.github/workflows/runtime-upgrade-test.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check permission - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -35,7 +35,7 @@ jobs: steps: - name: Validate and set inputs id: test-input - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -74,7 +74,7 @@ jobs: - name: Get branch and sha id: get-branch-sha - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{secrets.GITHUB_TOKEN}} result-encoding: string @@ -89,7 +89,7 @@ jobs: core.setOutput("sha", pull_request.data.head.sha) - name: Post starting comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: MESSAGE: | Runtime upgrade test is scheduled at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. @@ -134,7 +134,7 @@ jobs: yarn test:runtime-upgrade-${{ steps.test-input.outputs.runtime }} > ${{runner.temp}}/out.txt - name: Post result comment - uses: actions/github-script@v6 + uses: actions/github-script@v7 env: MESSAGE: | Runtime upgrade test finished: