Add actions/setup-node@v4.0.2

This commit is contained in:
2025-09-26 12:55:03 +08:00
commit 8b2cd66093
160 changed files with 196704 additions and 0 deletions

11
__tests__/verify-arch.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/sh
if [ -n "$1" ]; then
architecture="$(node -e 'console.log(process.arch)')"
if [ -z "$(echo $architecture | grep --fixed-strings $1)" ]; then
echo "Unexpected architecture"
exit 1
fi
else
echo "Skip testing architecture"
fi