File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 45
45
$image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()
46
46
Write-Host "Expected: '${{ matrix.version }}', Got: '$image_node_version'"
47
47
if ($image_node_version -ne ${{ matrix.version }}) {
48
+ Write-Host "Node version mismatch"
48
49
exit 1
49
50
}
51
+
52
+ exit 0
50
53
51
54
- name : Verify entrypoint runs regular, non-executable files with node
52
55
shell : pwsh
95
98
$image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()
96
99
Write-Host "Expected: '${{ matrix.version }}', Got: '$image_node_version'"
97
100
if ($image_node_version -ne ${{ matrix.version }}) {
98
- exit 2
101
+ Write-Host "Node version mismatch"
102
+ exit 1
99
103
}
104
+
105
+ exit 0
100
106
101
107
- name : Verify entrypoint runs regular, non-executable files with node
102
108
shell : pwsh
You can’t perform that action at this time.
0 commit comments