File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -181,24 +181,32 @@ jobs:
181
181
os : macos-15
182
182
183
183
runs-on : ${{matrix.os}}
184
- container : ${{matrix.container}}
184
+
185
+ container :
186
+ image : ${{matrix.container}}
187
+ volumes :
188
+ - /node20217:/node20217:rw,rshared
189
+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
185
190
186
191
defaults :
187
192
run :
188
193
shell : bash
189
194
190
195
steps :
191
- - name : Enable Node 16
192
- run : |
193
- echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
194
-
195
- - uses : actions/checkout@v3
196
-
197
196
- name : Setup container environment
198
197
if : matrix.container
199
198
run : |
200
199
apt-get update
201
- apt-get -y install sudo python3 git g++
200
+ apt-get -y install sudo python3 git g++ curl xz-utils
201
+
202
+ - name : Install nodejs20glibc2.17
203
+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
204
+ run : |
205
+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
206
+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
207
+ ldd /__e/node20/bin/node
208
+
209
+ - uses : actions/checkout@v4
202
210
203
211
- name : Install packages
204
212
if : matrix.install
You can’t perform that action at this time.
0 commit comments