File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -162,24 +162,32 @@ jobs:
162162 os : macos-15
163163
164164 runs-on : ${{matrix.os}}
165- container : ${{matrix.container}}
165+
166+ container :
167+ image : ${{matrix.container}}
168+ volumes :
169+ - /node20217:/node20217:rw,rshared
170+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
166171
167172 defaults :
168173 run :
169174 shell : bash
170175
171176 steps :
172- - name : Enable Node 16
173- run : |
174- echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
175-
176- - uses : actions/checkout@v3
177-
178177 - name : Setup container environment
179178 if : matrix.container
180179 run : |
181180 apt-get update
182- apt-get -y install sudo python3 git g++
181+ apt-get -y install sudo python3 git g++ curl xz-utils
182+
183+ - name : Install nodejs20glibc2.17
184+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
185+ run : |
186+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
187+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
188+ ldd /__e/node20/bin/node
189+
190+ - uses : actions/checkout@v4
183191
184192 - name : Install packages
185193 if : matrix.install
You can’t perform that action at this time.
0 commit comments