You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by xu...@apache.org on 2025/02/19 04:56:04 UTC
(opendal) branch fix-nodejs created (now c60a32279)
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a change to branch fix-nodejs
in repository https://gitbox.apache.org/repos/asf/opendal.git
at c60a32279 ci: Try fix nodejs CI
This branch includes the following new commits:
new c60a32279 ci: Try fix nodejs CI
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(opendal) 01/01: ci: Try fix nodejs CI
Posted by xu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
xuanwo pushed a commit to branch fix-nodejs
in repository https://gitbox.apache.org/repos/asf/opendal.git
commit c60a32279a13e873ea7bac74f6efbfa14a75868d
Author: Xuanwo <gi...@xuanwo.io>
AuthorDate: Wed Feb 19 12:55:51 2025 +0800
ci: Try fix nodejs CI
Signed-off-by: Xuanwo <gi...@xuanwo.io>
---
.github/workflows/ci_bindings_nodejs.yml | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/ci_bindings_nodejs.yml b/.github/workflows/ci_bindings_nodejs.yml
index 52cf61fe2..80cffaaa5 100644
--- a/.github/workflows/ci_bindings_nodejs.yml
+++ b/.github/workflows/ci_bindings_nodejs.yml
@@ -62,7 +62,7 @@ jobs:
cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
- name: Corepack
- run: npm i -g --force corepack && corepack enable
+ run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
@@ -99,7 +99,7 @@ jobs:
-e NAPI_TARGET=x86_64-unknown-linux-gnu \
-w /build/bindings/nodejs \
ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian \
- bash -c "npm i -g --force corepack && corepack enable && pnpm build"
+ bash -c "npm i -g --force corepack@latest && corepack enable && pnpm build"
cd bindings/nodejs
# change owner to current user
sudo chown -R 1001:121 *.node
@@ -112,7 +112,7 @@ jobs:
ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64 \
bash -c "set -e &&
rustup target add aarch64-unknown-linux-gnu &&
- npm i -g --force corepack &&
+ npm i -g --force corepack@latest &&
corepack enable &&
pnpm build --target aarch64-unknown-linux-gnu &&
aarch64-unknown-linux-gnu-strip *.node"
@@ -128,7 +128,7 @@ jobs:
ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine \
bash -c "set -e &&
rustup target add aarch64-unknown-linux-musl &&
- npm i -g --force corepack &&
+ npm i -g --force corepack@latest &&
corepack enable &&
pnpm build --target aarch64-unknown-linux-musl &&
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip *.node"
@@ -148,7 +148,7 @@ jobs:
cache: pnpm
cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
- name: Corepack
- run: npm i -g --force corepack && corepack enable
+ run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
@@ -197,7 +197,7 @@ jobs:
cache: pnpm
cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
- name: Corepack
- run: npm i -g --force corepack && corepack enable
+ run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
@@ -253,7 +253,7 @@ jobs:
cache: pnpm
cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
- name: Corepack
- run: corepack enable
+ run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
@@ -288,7 +288,7 @@ jobs:
cache: pnpm
cache-dependency-path: "bindings/nodejs/pnpm-lock.yaml"
- name: Corepack
- run: npm i -g --force corepack && corepack enable
+ run: npm i -g --force corepack@latest && corepack enable
- name: Install dependencies
run: pnpm install --frozen-lockfile