Skip to content

Commit d71e385

Browse files
committed
Please work
1 parent 49f760a commit d71e385

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

.claude/settings.local.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@
99
"Bash(dir /s /b:*)",
1010
"Bash(findstr:*)",
1111
"WebSearch",
12-
"Bash(node:*)"
12+
"Bash(node:*)",
13+
"Bash(npx @yao-pkg/pkg:*)",
14+
"WebFetch(domain:github.com)",
15+
"WebFetch(domain:www.npmjs.com)",
16+
"WebFetch(domain:raw.githubusercontent.com)",
17+
"WebFetch(domain:api.github.com)"
1318
],
1419
"deny": [],
1520
"ask": []

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ jobs:
9292
mkdir -p ~/.pkg-cache/v3.5
9393
9494
# Download pre-built ARMv7 binary from yao-pkg/pkg-binaries
95-
# Using node 20.19.5 (latest available ARMv7 build, ~47MB)
96-
curl -L -o ~/.pkg-cache/v3.5/fetched-v20.19.5-linux-armv7 \
97-
https://github.com/yao-pkg/pkg-binaries/releases/download/node20/node-v20.19.5-linux-armv7
95+
# Using node 20.18.0 linuxstatic build (highest Node 20 recognized by pkg)
96+
curl -L -o ~/.pkg-cache/v3.5/fetched-v20.18.0-linuxstatic-armv7 \
97+
https://github.com/yao-pkg/pkg-binaries/releases/download/node20/node-v20.18.0-linuxstatic-armv7
9898
9999
# Make executable
100-
chmod +x ~/.pkg-cache/v3.5/fetched-v20.19.5-linux-armv7
100+
chmod +x ~/.pkg-cache/v3.5/fetched-v20.18.0-linuxstatic-armv7
101101
102102
# Verify download (should be ~47MB)
103103
ls -lh ~/.pkg-cache/v3.5/
@@ -127,9 +127,9 @@ jobs:
127127
elif [[ "${{ matrix.platform }}" == "mac" ]]; then
128128
npx @yao-pkg/pkg . --targets node20-macos-${{ matrix.arch }} --output dist/${{ matrix.output }}
129129
elif [[ "${{ matrix.platform }}" == "linux" ]]; then
130-
# Special case: ARMv7 requires explicit version (20.19.5 from pkg-binaries)
130+
# Special case: ARMv7 needs the linuxstatic target to pick the supported Node 20 build
131131
if [[ "${{ matrix.arch }}" == "armv7" ]]; then
132-
npx @yao-pkg/pkg . --targets node20.19.5-linux-armv7 --output dist/${{ matrix.output }}
132+
npx @yao-pkg/pkg . --targets node20-linuxstatic-armv7 --output dist/${{ matrix.output }}
133133
else
134134
npx @yao-pkg/pkg . --targets node20-linux-${{ matrix.arch }} --output dist/${{ matrix.output }}
135135
fi

0 commit comments

Comments
 (0)