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