Skip to content

Commit 236986e

Browse files
committed
chore(ci): Fix npm publish action
1 parent 6e46a8b commit 236986e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish-npm-package.yml

+2
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ jobs:
115115
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
116116
build: >-
117117
set -e &&
118+
apk add --upgrade clang-static llvm-dev &&
118119
export CARGO_PROFILE_RELEASE_LTO=false &&
119120
if [[ ${{ inputs.package }} == "core" ]]; then
120121
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:
170171
downloadTarget: aarch64-unknown-linux-musl
171172
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
172173
build: >-
174+
apk add --upgrade clang-static llvm-dev &&
173175
export JEMALLOC_SYS_WITH_LG_PAGE=16 &&
174176
rustup toolchain install $(cat ../../rust-toolchain) &&
175177
rustup target add aarch64-unknown-linux-musl &&

0 commit comments

Comments
 (0)