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