Skip to content

Commit 77db864

Browse files
committed
GHA update
1 parent c26cbf5 commit 77db864

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,24 +175,32 @@ jobs:
175175
os: macos-14
176176

177177
runs-on: ${{matrix.os}}
178-
container: ${{matrix.container}}
178+
179+
container:
180+
image: ${{matrix.container}}
181+
volumes:
182+
- /node20217:/node20217:rw,rshared
183+
- ${{ startsWith(matrix.container, 'ubuntu:1') && '/node20217:/__e/node20:ro,rshared' || ' ' }}
179184

180185
defaults:
181186
run:
182187
shell: bash
183188

184189
steps:
185-
- name: Enable Node 16
186-
run: |
187-
echo "ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true" >> $GITHUB_ENV
188-
189-
- uses: actions/checkout@v3
190-
191190
- name: Setup container environment
192191
if: matrix.container
193192
run: |
194193
apt-get update
195-
apt-get -y install sudo python3 git g++
194+
apt-get -y install sudo python3 git g++ curl xz-utils
195+
196+
- name: Install nodejs20glibc2.17
197+
if: ${{ startsWith( matrix.container, 'ubuntu:1' ) }}
198+
run: |
199+
curl -LO https://archives.boost.io/misc/node/node-v20.9.0-linux-x64-glibc-217.tar.xz
200+
tar -xf node-v20.9.0-linux-x64-glibc-217.tar.xz --strip-components 1 -C /node20217
201+
ldd /__e/node20/bin/node
202+
203+
- uses: actions/checkout@v4
196204

197205
- name: Install packages
198206
if: matrix.install

0 commit comments

Comments
 (0)