This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/opendal.git


The following commit(s) were added to refs/heads/main by this push:
     new c6f9f1fb6 ci: update workflow nodejs version and remove corepack 
(#6495)
c6f9f1fb6 is described below

commit c6f9f1fb6034bf8cab3a876e30acc7c5d63d7d79
Author: Kingsword <kingswor...@gmail.com>
AuthorDate: Sat Aug 9 11:04:36 2025 +0800

    ci: update workflow nodejs version and remove corepack (#6495)
---
 .github/workflows/ci_check.yml                     | 7 ++-----
 .github/workflows/docs.yml                         | 9 ++++-----
 .github/workflows/test_behavior_binding_nodejs.yml | 7 ++-----
 3 files changed, 8 insertions(+), 15 deletions(-)

diff --git a/.github/workflows/ci_check.yml b/.github/workflows/ci_check.yml
index 83b02de54..142a4a56a 100644
--- a/.github/workflows/ci_check.yml
+++ b/.github/workflows/ci_check.yml
@@ -94,17 +94,14 @@ jobs:
       - uses: pnpm/action-setup@v4
         with:
           version: 8
+          run_install: false
 
       - uses: actions/setup-node@v4
         with:
-          node-version: "18"
+          node-version: "20"
           cache: pnpm
           cache-dependency-path: "website/pnpm-lock.yaml"
 
-      - name: Corepack
-        working-directory: website
-        run: npm i -g --force corepack && corepack enable
-
       - name: Install Dependencies
         working-directory: website
         run: pnpm install --frozen-lockfile
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 00cf5a545..07f61e5bf 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -108,15 +108,13 @@ jobs:
       - uses: pnpm/action-setup@v4
         with:
           version: 8
+          run_install: false
 
       - uses: actions/setup-node@v4
         with:
-          node-version: "18"
+          node-version: "20"
           cache: pnpm
           cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
-      - name: Corepack
-        working-directory: bindings/nodejs
-        run: npm i -g --force corepack && corepack enable
 
       - name: Install dependencies
         working-directory: bindings/nodejs
@@ -522,10 +520,11 @@ jobs:
       - uses: pnpm/action-setup@v4
         with:
           version: 8
+          run_install: false
 
       - uses: actions/setup-node@v4
         with:
-          node-version: "18"
+          node-version: "20"
           cache: pnpm
           cache-dependency-path: "website/pnpm-lock.yaml"
 
diff --git a/.github/workflows/test_behavior_binding_nodejs.yml 
b/.github/workflows/test_behavior_binding_nodejs.yml
index 4c34a211a..4c5efd36f 100644
--- a/.github/workflows/test_behavior_binding_nodejs.yml
+++ b/.github/workflows/test_behavior_binding_nodejs.yml
@@ -59,17 +59,14 @@ jobs:
       - uses: pnpm/action-setup@v4
         with:
           version: 8
+          run_install: false
 
       - uses: actions/setup-node@v4
         with:
-          node-version: "18"
+          node-version: "20"
           cache: pnpm
           cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
 
-      - name: Corepack
-        working-directory: bindings/nodejs
-        run: npm i -g --force corepack && corepack enable
-
       - name: Install dependencies
         working-directory: bindings/nodejs
         run: pnpm install --frozen-lockfile

Reply via email to