File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -92,11 +92,10 @@ jobs:
9292 - name : Test for node version
9393 shell : pwsh
9494 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
10099 }
101100
102101 - name : Verify entrypoint runs regular, non-executable files with node
You can’t perform that action at this time.
0 commit comments