File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ jobs:
193
193
node :
194
194
- ' 20'
195
195
- ' 22'
196
- runs-on : ubuntu-latest
196
+ runs-on : ubuntu-24.04
197
197
steps :
198
198
- uses : actions/checkout@v4
199
199
- name : Setup node
@@ -251,15 +251,23 @@ jobs:
251
251
- name : Setup and run tests
252
252
uses : addnab/docker-run-action@v3
253
253
with :
254
- image : debian:bookworm
254
+ image : ubuntu:24.04
255
255
options : ' --platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
256
256
run : |
257
257
set -e
258
258
export DEBIAN_FRONTEND=noninteractive
259
259
apt-get update
260
260
apt-get install -y curl ca-certificates gnupg
261
- curl -fsSL https://deb.nodesource.com/setup_${{ matrix.node }}.x | bash -
262
- apt-get install -y nodejs
261
+
262
+ # Install Node.js manually to avoid Python segfault issues
263
+ NODE_VERSION="${{ matrix.node }}"
264
+ if [ "$NODE_VERSION" = "20" ]; then
265
+ NODE_DOWNLOAD_URL="https://nodejs.org/dist/v20.18.0/node-v20.18.0-linux-arm64.tar.xz"
266
+ else
267
+ NODE_DOWNLOAD_URL="https://nodejs.org/dist/v22.12.0/node-v22.12.0-linux-arm64.tar.xz"
268
+ fi
269
+
270
+ curl -fsSL "$NODE_DOWNLOAD_URL" | tar -xJ -C /usr/local --strip-components=1
263
271
node --version
264
272
npm --version
265
273
npm ci
You can’t perform that action at this time.
0 commit comments