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 @@ -172,24 +172,32 @@ jobs:
172172 os : macos-15
173173
174174 runs-on : ${{matrix.os}}
175- container : ${{matrix.container}}
175+
176+ container :
177+ image : ${{matrix.container}}
178+ volumes :
179+ - /node20217:/node20217:rw,rshared
180+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
176181
177182 defaults :
178183 run :
179184 shell : bash
180185
181186 steps :
182- - name : Enable Node 16
183- run : |
184- echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
185-
186- - uses : actions/checkout@v3
187-
188187 - name : Setup container environment
189188 if : matrix.container
190189 run : |
191190 apt-get update
192- apt-get -y install sudo python3 git g++
191+ apt-get -y install sudo python3 git g++ curl xz-utils
192+
193+ - name : Install nodejs20glibc2.17
194+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
195+ run : |
196+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
197+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
198+ ldd /__e/node20/bin/node
199+
200+ - uses : actions/checkout@v4
193201
194202 - name : Install packages
195203 if : matrix.install
You can’t perform that action at this time.
0 commit comments