From 236986e078a794a4d735f5a89a89329f022ada4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EB=8F=99=EC=9C=A4=20=28Donny=29?= Date: Wed, 4 Dec 2024 10:06:51 +0900 Subject: [PATCH] chore(ci): Fix npm publish action --- .github/workflows/publish-npm-package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish-npm-package.yml b/.github/workflows/publish-npm-package.yml index efd23ca47478..999b98a3b43b 100644 --- a/.github/workflows/publish-npm-package.yml +++ b/.github/workflows/publish-npm-package.yml @@ -115,6 +115,7 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: >- set -e && + apk add --upgrade clang-static llvm-dev && export CARGO_PROFILE_RELEASE_LTO=false && if [[ ${{ inputs.package }} == "core" ]]; then RUSTFLAGS='-C target-feature=+sse2' cargo build --manifest-path ../../bindings/swc_cli/Cargo.toml --release --features plugin --target x86_64-unknown-linux-musl && @@ -170,6 +171,7 @@ jobs: downloadTarget: aarch64-unknown-linux-musl docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: >- + apk add --upgrade clang-static llvm-dev && export JEMALLOC_SYS_WITH_LG_PAGE=16 && rustup toolchain install $(cat ../../rust-toolchain) && rustup target add aarch64-unknown-linux-musl &&