We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6fea3c commit 05e7d6cCopy full SHA for 05e7d6c
.github/workflows/versions.yml
@@ -96,4 +96,17 @@ jobs:
96
node-version: 0.12.18
97
- name: Verify node
98
run: __tests__/verify-node.sh 0.12.18 SKIP_NPM
99
+ shell: bash
100
+
101
+ arch:
102
+ runs-on: windows-latest
103
+ steps:
104
+ - uses: actions/checkout@v2
105
+ - name: Setup node 12 x86 from dist
106
+ uses: ./
107
+ with:
108
+ node-version: '12'
109
+ architecture: 'x86'
110
+ - name: Verify node
111
+ run: __tests__/verify-arch.sh "ia32"
112
shell: bash
__tests__/verify-arch.sh
@@ -0,0 +1,11 @@
1
+#!/bin/sh
2
3
+if [ -n "$1" ]; then
4
+ architecture="$(node -e 'console.log(process.arch)')"
5
+ if [ -z "$(echo $architecture | grep --fixed-strings $1)" ]; then
6
+ echo "Unexpected architecture"
7
+ exit 1
8
+ fi
9
+else
10
+ echo "Skip testing architecture"
11
+fi
0 commit comments