Skip to content

Commit 951de44

Browse files
0.1.8
1 parent c1755cb commit 951de44

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.github/workflows/CI.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
node:
194194
- '20'
195195
- '22'
196-
runs-on: ubuntu-latest
196+
runs-on: ubuntu-24.04
197197
steps:
198198
- uses: actions/checkout@v4
199199
- name: Setup node
@@ -251,15 +251,23 @@ jobs:
251251
- name: Setup and run tests
252252
uses: addnab/docker-run-action@v3
253253
with:
254-
image: debian:bookworm
254+
image: ubuntu:24.04
255255
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
256256
run: |
257257
set -e
258258
export DEBIAN_FRONTEND=noninteractive
259259
apt-get update
260260
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
263271
node --version
264272
npm --version
265273
npm ci

0 commit comments

Comments
 (0)