From 7bce68a81f5cc35542510e7ad4674659ed020821 Mon Sep 17 00:00:00 2001 From: qinqingxu Date: Wed, 22 Apr 2026 16:41:08 +0800 Subject: [PATCH 1/5] test: upgrade the node version --- .github/workflows/ui-test-vscuse-others.yml | 6 +++++- .github/workflows/ui-test-vscuse-template.yml | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ui-test-vscuse-others.yml b/.github/workflows/ui-test-vscuse-others.yml index 70a31c480f8..69dccf38f8f 100644 --- a/.github/workflows/ui-test-vscuse-others.yml +++ b/.github/workflows/ui-test-vscuse-others.yml @@ -32,6 +32,10 @@ on: default: false permissions: actions: read + +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" + jobs: discover-test-plans: runs-on: ubuntu-latest @@ -176,7 +180,7 @@ jobs: python-version: "3.12" - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 22 diff --git a/.github/workflows/ui-test-vscuse-template.yml b/.github/workflows/ui-test-vscuse-template.yml index 21236d824f4..0eacb44bd10 100644 --- a/.github/workflows/ui-test-vscuse-template.yml +++ b/.github/workflows/ui-test-vscuse-template.yml @@ -32,6 +32,10 @@ on: default: false permissions: actions: read + +env: + FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true" + jobs: discover-test-plans: runs-on: ubuntu-latest @@ -176,7 +180,7 @@ jobs: python-version: "3.12" - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 22 From e93b1f14b20642e2a7e90ce89d90c950e531fe41 Mon Sep 17 00:00:00 2001 From: qinqingxu Date: Thu, 23 Apr 2026 09:43:23 +0800 Subject: [PATCH 2/5] test: update node version to 18.17.1 --- .github/workflows/ui-test-vscuse-others.yml | 26 +++++++++---------- .github/workflows/ui-test-vscuse-template.yml | 26 +++++++++---------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/ui-test-vscuse-others.yml b/.github/workflows/ui-test-vscuse-others.yml index 69dccf38f8f..305c94cbc24 100644 --- a/.github/workflows/ui-test-vscuse-others.yml +++ b/.github/workflows/ui-test-vscuse-others.yml @@ -46,7 +46,7 @@ jobs: email-receiver: ${{ steps.set-email.outputs.email-receiver }} steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set email receiver id: set-email @@ -170,17 +170,17 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.ref_name }} - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 22 @@ -236,7 +236,7 @@ jobs: echo "M365_ACCOUNT_NAME=${users[index]}" >> $GITHUB_ENV - name: Log in to Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -312,7 +312,7 @@ jobs: - name: Upload error file if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: error-file-${{ matrix.test_plan }}-${{ github.run_id }} path: error.txt @@ -355,7 +355,7 @@ jobs: - name: Upload encrypted test report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: test-report-${{ matrix.test_plan }}-${{ github.run_number }} path: packages/tests/vscuse/vscode-test-cases/test_report/${{ env.ZIP_FILE }} @@ -365,7 +365,7 @@ jobs: # Upload files to Azure Blob Storage - name : Login to Azure if: always() - uses: azure/login@v2 + uses: azure/login@v3 with: client-id: ${{secrets.DEVOPS_CLIENT_ID}} tenant-id: ${{secrets.DEVOPS_TENANT_ID}} @@ -397,7 +397,7 @@ jobs: - name: Upload storage URL artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: storage-url-${{ matrix.test_plan }}-${{ github.run_id }} path: storage_url.txt @@ -462,9 +462,9 @@ jobs: working-directory: packages/tests/vscuse steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 - - uses: azure/login@v2 + - uses: azure/login@v3 with: client-id: ${{secrets.DEVOPS_CLIENT_ID}} tenant-id: ${{secrets.DEVOPS_TENANT_ID}} @@ -472,13 +472,13 @@ jobs: enable-AzPSSession: true - name: Download storage URLs - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: pattern: storage-url-* path: /tmp/storage-urls - name: Download error files - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: pattern: error-file-* path: /tmp/error-files diff --git a/.github/workflows/ui-test-vscuse-template.yml b/.github/workflows/ui-test-vscuse-template.yml index 0eacb44bd10..eeba943cc49 100644 --- a/.github/workflows/ui-test-vscuse-template.yml +++ b/.github/workflows/ui-test-vscuse-template.yml @@ -46,7 +46,7 @@ jobs: email-receiver: ${{ steps.set-email.outputs.email-receiver }} steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set email receiver id: set-email @@ -170,17 +170,17 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v5 with: ref: ${{ github.ref_name }} - name: Set up Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: "3.12" - name: Setup Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v5 with: node-version: 22 @@ -236,7 +236,7 @@ jobs: echo "M365_ACCOUNT_NAME=${users[index]}" >> $GITHUB_ENV - name: Log in to Container Registry - uses: docker/login-action@v3 + uses: docker/login-action@v4 with: registry: ghcr.io username: ${{ github.actor }} @@ -312,7 +312,7 @@ jobs: - name: Upload error file if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: error-file-${{ matrix.test_plan }}-${{ github.run_id }} path: error.txt @@ -355,7 +355,7 @@ jobs: - name: Upload encrypted test report if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: test-report-${{ matrix.test_plan }}-${{ github.run_number }} path: packages/tests/vscuse/vscode-test-cases/test_report/${{ env.ZIP_FILE }} @@ -365,7 +365,7 @@ jobs: # Upload files to Azure Blob Storage - name : Login to Azure if: always() - uses: azure/login@v2 + uses: azure/login@v3 with: client-id: ${{secrets.DEVOPS_CLIENT_ID}} tenant-id: ${{secrets.DEVOPS_TENANT_ID}} @@ -397,7 +397,7 @@ jobs: - name: Upload storage URL artifact if: always() - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: storage-url-${{ matrix.test_plan }}-${{ github.run_id }} path: storage_url.txt @@ -462,9 +462,9 @@ jobs: working-directory: packages/tests/vscuse steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v5 - - uses: azure/login@v2 + - uses: azure/login@v3 with: client-id: ${{secrets.DEVOPS_CLIENT_ID}} tenant-id: ${{secrets.DEVOPS_TENANT_ID}} @@ -472,13 +472,13 @@ jobs: enable-AzPSSession: true - name: Download storage URLs - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: pattern: storage-url-* path: /tmp/storage-urls - name: Download error files - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v7 with: pattern: error-file-* path: /tmp/error-files From 8bd16ef8845f75f97bfd427e9b84f96e8f80301c Mon Sep 17 00:00:00 2001 From: qinqingxu Date: Thu, 23 Apr 2026 10:25:04 +0800 Subject: [PATCH 3/5] test: update node version to 18.17.1 --- .github/workflows/ui-test-vscuse-others.yml | 3 +++ .github/workflows/ui-test-vscuse-template.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ui-test-vscuse-others.yml b/.github/workflows/ui-test-vscuse-others.yml index 305c94cbc24..ad5113ef424 100644 --- a/.github/workflows/ui-test-vscuse-others.yml +++ b/.github/workflows/ui-test-vscuse-others.yml @@ -179,6 +179,9 @@ jobs: with: python-version: "3.12" + - name: Enable Corepack + run: corepack enable pnpm + - name: Setup Node.js uses: actions/setup-node@v5 with: diff --git a/.github/workflows/ui-test-vscuse-template.yml b/.github/workflows/ui-test-vscuse-template.yml index eeba943cc49..c3e1667df5d 100644 --- a/.github/workflows/ui-test-vscuse-template.yml +++ b/.github/workflows/ui-test-vscuse-template.yml @@ -179,6 +179,9 @@ jobs: with: python-version: "3.12" + - name: Enable Corepack + run: corepack enable pnpm + - name: Setup Node.js uses: actions/setup-node@v5 with: From 791ef052e5198f0b9d74fcab74bc602e4cf07e4e Mon Sep 17 00:00:00 2001 From: qinqingxu Date: Thu, 23 Apr 2026 10:38:26 +0800 Subject: [PATCH 4/5] test: update node --- .github/workflows/ui-test-vscuse-others.yml | 6 ++++-- .github/workflows/ui-test-vscuse-template.yml | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ui-test-vscuse-others.yml b/.github/workflows/ui-test-vscuse-others.yml index ad5113ef424..768decca007 100644 --- a/.github/workflows/ui-test-vscuse-others.yml +++ b/.github/workflows/ui-test-vscuse-others.yml @@ -179,8 +179,10 @@ jobs: with: python-version: "3.12" - - name: Enable Corepack - run: corepack enable pnpm + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 8.6.12 - name: Setup Node.js uses: actions/setup-node@v5 diff --git a/.github/workflows/ui-test-vscuse-template.yml b/.github/workflows/ui-test-vscuse-template.yml index c3e1667df5d..dadcfc70c6a 100644 --- a/.github/workflows/ui-test-vscuse-template.yml +++ b/.github/workflows/ui-test-vscuse-template.yml @@ -179,8 +179,10 @@ jobs: with: python-version: "3.12" - - name: Enable Corepack - run: corepack enable pnpm + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 8.6.12 - name: Setup Node.js uses: actions/setup-node@v5 From 85847f8ff21426956be16153a846fc1fadc7694a Mon Sep 17 00:00:00 2001 From: qinqingxu Date: Thu, 23 Apr 2026 16:10:47 +0800 Subject: [PATCH 5/5] test: update --- .github/workflows/ui-test-vscuse-others.yml | 6 +----- .github/workflows/ui-test-vscuse-template.yml | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ui-test-vscuse-others.yml b/.github/workflows/ui-test-vscuse-others.yml index 768decca007..d86a12bfbef 100644 --- a/.github/workflows/ui-test-vscuse-others.yml +++ b/.github/workflows/ui-test-vscuse-others.yml @@ -179,15 +179,11 @@ jobs: with: python-version: "3.12" - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: 8.6.12 - - name: Setup Node.js uses: actions/setup-node@v5 with: node-version: 22 + package-manager-cache: false - name: Install dependencies for download actions run: npm install @octokit/auth-app @octokit/request @octokit/core node-fetch diff --git a/.github/workflows/ui-test-vscuse-template.yml b/.github/workflows/ui-test-vscuse-template.yml index dadcfc70c6a..e811cd79b26 100644 --- a/.github/workflows/ui-test-vscuse-template.yml +++ b/.github/workflows/ui-test-vscuse-template.yml @@ -179,15 +179,11 @@ jobs: with: python-version: "3.12" - - name: Install pnpm - uses: pnpm/action-setup@v4 - with: - version: 8.6.12 - - name: Setup Node.js uses: actions/setup-node@v5 with: node-version: 22 + package-manager-cache: false - name: Install dependencies for download actions run: npm install @octokit/auth-app @octokit/request @octokit/core node-fetch