Skip to content

Commit

Permalink
chore(ci): Fix npm publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Dec 4, 2024
1 parent 6e46a8b commit 236986e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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 &&
Expand Down

0 comments on commit 236986e

Please sign in to comment.