File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -92,10 +92,11 @@ jobs:
92
92
- name : Test for node version
93
93
shell : pwsh
94
94
run : |
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 (22.0.7 -ne ${{ matrix.version }}) {
98
- exit 1
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
99
100
}
100
101
101
102
- name : Verify entrypoint runs regular, non-executable files with node
You can’t perform that action at this time.
0 commit comments