File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 $tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
5555 $tmp_file = Join-Path $tempDir "index.js"
5656 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
57- $output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:22.7.0-windows-2019 C:/app/index.js)
57+ $output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:${{ matrix.version }}-${{ matrix.variant }} C:/app/index.js)
5858 if ($output -ne 'success') {
5959 Write-Host "Invalid"
6060 }
@@ -105,7 +105,7 @@ jobs:
105105 $tempDir = New-Item -ItemType Directory -Path $env:TEMP -Name "tempNodeApp"
106106 $tmp_file = Join-Path $tempDir "index.js"
107107 "console.log('success')" | Out-File -FilePath $tmp_file -Encoding utf8
108- $output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:22.7.0-windows-2019 C:/app/index.js)
108+ $output = (docker run --rm -w /app --mount "type=bind,src=$tempDir,target=c:\app" node:${{ matrix.version }}-${{ matrix.variant }} C:/app/index.js)
109109 if ($output -ne 'success') {
110110 Write-Host "Invalid"
111111 }
You can’t perform that action at this time.
0 commit comments