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 @@ -118,24 +118,32 @@ jobs:
118118 os : macos-15
119119
120120 runs-on : ${{matrix.os}}
121- container : ${{matrix.container}}
121+
122+ container :
123+ image : ${{matrix.container}}
124+ volumes :
125+ - /node20217:/node20217:rw,rshared
126+ - ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
122127
123128 defaults :
124129 run :
125130 shell : bash
126131
127132 steps :
128- - name : Enable Node 16
129- run : |
130- echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
131-
132- - uses : actions/checkout@v3
133-
134133 - name : Setup container environment
135134 if : matrix.container
136135 run : |
137136 apt-get update
138- apt-get -y install sudo python3 git g++
137+ apt-get -y install sudo python3 git g++ curl xz-utils
138+
139+ - name : Install nodejs20glibc2.17
140+ if : ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
141+ run : |
142+ curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
143+ tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
144+ ldd /__e/node20/bin/node
145+
146+ - uses : actions/checkout@v4
139147
140148 - name : Install packages
141149 if : matrix.install
You can’t perform that action at this time.
0 commit comments