mirror of
https://github.com/actions/setup-node.git
synced 2026-10-01 01:11:33 +00:00
Add e2e arch test
This commit is contained in:
1 parent
d6fea3c137
commit
05e7d6cc23
2 files changed
+24
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user