Skip to content

Commit 5069d26

Browse files
committed
fix(ci): upgrade nodejs in musl containers using edge repo
1 parent 26f0151 commit 5069d26

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,8 @@ jobs:
5050
target: x86_64-unknown-linux-musl
5151
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
5252
build: |
53-
apk add --no-cache curl nodejs npm &&
53+
apk add --upgrade --no-cache curl nodejs npm --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main &&
54+
node -v &&
5455
npm install -g yarn --force &&
5556
yarn build --target x86_64-unknown-linux-musl
5657
- host: macos-latest
@@ -94,7 +95,8 @@ jobs:
9495
docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine
9596
build: |-
9697
set -e &&
97-
apk add --no-cache curl nodejs npm &&
98+
apk add --upgrade --no-cache curl nodejs npm --repository=https://dl-cdn.alpinelinux.org/alpine/edge/main &&
99+
node -v &&
98100
npm install -g yarn --force &&
99101
rustup target add aarch64-unknown-linux-musl &&
100102
yarn build --target aarch64-unknown-linux-musl

0 commit comments

Comments
 (0)