File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -92,11 +92,10 @@ jobs:
92
92
- name : Test for node version
93
93
shell : pwsh
94
94
run : |
95
- $image_node_version = ([System.Text.Encoding]::UTF8.GetString(([System.Text.Encoding]::UTF8.GetBytes((docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()))))
96
- $expected_version = ([System.Text.Encoding]::UTF8.GetString(([System.Text.Encoding]::UTF8.GetBytes(${{ matrix.version }}))))
97
- Write-Host "Expected: '$expected_version', Got: '$image_node_version'"
98
- if ($image_node_version -ne $expected_version) {
99
- exit 1
95
+ $image_node_version = (docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} node --print "process.versions.node").Trim()
96
+ Write-Host "Expected: '${{ matrix.version }}', Got: '$image_node_version'"
97
+ if (${{ matrix.version }} -ne $image_node_version) {
98
+ exit 1
100
99
}
101
100
102
101
- name : Verify entrypoint runs regular, non-executable files with node
You can’t perform that action at this time.
0 commit comments