@@ -82,14 +82,14 @@ jobs:
82
82
target : ' aarch64-unknown-linux-musl'
83
83
downloadTarget : ' aarch64-unknown-linux-musl'
84
84
docker : |
85
- docker pull ghcr.io/brooooooklyn/canvas/musl-builder :lts
86
- docker tag ghcr.io/brooooooklyn/canvas/musl-builder :lts builder
87
- build : docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd):/node-rs -w /node-rs builder sh -c "rustup toolchain install $(cat ./rust-toolchain) && rustup target add aarch64-unknown-linux-musl && npx lerna exec \"yarn build --target aarch64-unknown-linux-musl\" --concurrency 1 --stream --no-prefix"
85
+ docker pull ghcr.io/napi-rs/napi-rs/nodejs-rust :lts-alpine
86
+ docker tag ghcr.io/napi-rs/napi-rs/nodejs-rust :lts-alpine builder
87
+ build : docker run --rm -v ~/.cargo/git:/root/.cargo/git -v ~/.cargo/registry:/root/.cargo/registry -v $(pwd):/node-rs -w /node-rs builder sh -c "rustup toolchain install $(cat ./rust-toolchain) && rustup target add aarch64-unknown-linux-musl && yarn global add lerna && lerna exec \"yarn build --target aarch64-unknown-linux-musl\" --concurrency 1 --stream --no-prefix"
88
88
- host : windows-latest
89
89
target : ' aarch64-pc-windows-msvc'
90
90
build : npx lerna exec "yarn build --target aarch64-pc-windows-msvc" --concurrency 1 --stream --no-prefix
91
91
92
- name : stable - ${{ matrix.settings.target }} - node@14
92
+ name : stable - ${{ matrix.settings.target }} - node@16
93
93
runs-on : ${{ matrix.settings.host }}
94
94
95
95
steps :
98
98
- name : Setup node
99
99
uses : actions/setup-node@v2
100
100
with :
101
- node-version : 14
101
+ node-version : 16
102
102
check-latest : true
103
103
104
104
- name : Install
@@ -117,19 +117,19 @@ jobs:
117
117
uses : actions/cache@v2
118
118
with :
119
119
path : ~/.cargo/registry
120
- key : ${{ matrix.settings.target }}-node@14 -cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
120
+ key : ${{ matrix.settings.target }}-node@16 -cargo-registry-trimmed-${{ hashFiles('**/Cargo.lock') }}
121
121
122
122
- name : Cache cargo index
123
123
uses : actions/cache@v2
124
124
with :
125
125
path : ~/.cargo/git
126
- key : ${{ matrix.settings.target }}-node@14 -cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
126
+ key : ${{ matrix.settings.target }}-node@16 -cargo-index-trimmed-${{ hashFiles('**/Cargo.lock') }}
127
127
128
128
- name : Cache NPM dependencies
129
129
uses : actions/cache@v2
130
130
with :
131
131
path : node_modules
132
- key : npm-cache-${{ matrix.settings.target }}-node@14 -${{ hashFiles('yarn.lock') }}
132
+ key : npm-cache-${{ matrix.settings.target }}-node@16 -${{ hashFiles('yarn.lock') }}
133
133
134
134
- name : Pull latest image
135
135
run : ${{ matrix.settings.docker }}
0 commit comments