@@ -40,18 +40,34 @@ jobs:
4040 - host : ubuntu-latest
4141 target : x86_64-unknown-linux-gnu
4242 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian
43- build : rustup update stable && npm install && npm run build -- --target x86_64-unknown-linux-gnu
43+ build : |
44+ set -e &&
45+ apt-get update && apt-get install -y curl &&
46+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&
47+ apt-get install -y nodejs &&
48+ rustup update stable &&
49+ npm install &&
50+ npm run build -- --target x86_64-unknown-linux-gnu
4451 - host : ubuntu-latest
4552 target : x86_64-unknown-linux-musl
4653 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
47- build : rustup update stable && npm install && npm run build -- --target x86_64-unknown-linux-musl
54+ build : |
55+ set -e &&
56+ apk add --no-cache nodejs npm &&
57+ rustup update stable &&
58+ npm install &&
59+ npm run build -- --target x86_64-unknown-linux-musl
4860 - host : macos-latest
4961 target : aarch64-apple-darwin
5062 build : npm run build -- --target aarch64-apple-darwin
5163 - host : ubuntu-latest
5264 target : aarch64-unknown-linux-gnu
5365 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-debian-aarch64
5466 build : |
67+ set -e &&
68+ apt-get update && apt-get install -y curl &&
69+ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - &&
70+ apt-get install -y nodejs &&
5571 rustup update stable &&
5672 npm install &&
5773 rustup target add aarch64-unknown-linux-gnu &&
84100 docker : ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
85101 build : |-
86102 set -e &&
103+ apk add --no-cache nodejs npm &&
87104 rustup update stable &&
88105 npm install &&
89106 rustup target add aarch64-unknown-linux-musl &&
0 commit comments