Skip to content

Commit 584a609

Browse files
committed
fix: ci error le16toh
1 parent 13002d4 commit 584a609

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ jobs:
311311
if ('${{ matrix.target }}'.endsWith('-musl')) {
312312
console.log('IMAGE=node:${{ matrix.node }}-alpine')
313313
} else {
314-
console.log('IMAGE=node:${{ matrix.node }}-slim')
314+
console.log('IMAGE=node:${{ matrix.node }}-bullseye')
315315
}
316316
" >> $GITHUB_OUTPUT
317317
echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_OUTPUT
@@ -335,7 +335,11 @@ jobs:
335335
with:
336336
image: ${{ steps.docker.outputs.IMAGE }}
337337
options: -v ${{ steps.docker.outputs.PNPM_STORE_PATH }}:${{ steps.docker.outputs.PNPM_STORE_PATH }} -v ${{ github.workspace }}:${{ github.workspace }} -w ${{ github.workspace }} --platform ${{ steps.docker.outputs.PLATFORM }}
338-
run: npm run test
338+
run: |
339+
if ! echo "${{ steps.docker.outputs.IMAGE }}" | grep -q alpine; then
340+
apt-get update && apt-get install -y libc6-dev
341+
fi
342+
npm run test
339343
340344
publish:
341345
name: Publish

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ tree-sitter = "0.25.10"
2222
tree-sitter-json = "0.24.8"
2323
url = "2.5.7"
2424
walkdir = "2"
25+
byteorder = "1.5.0"
2526

2627
[build-dependencies]
2728
napi-build = "2"

0 commit comments

Comments
 (0)