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 @@ -82,12 +82,11 @@ jobs:
8282 echo "Expected: \"${{ matrix.version }}\", Got: \"${image_node_version}\""
8383 [ "${image_node_version}" == "${{ matrix.version }}" ]
8484
85- - name : Regression test for issue 1456
85+ - name : Verify endpoint executes regular files with node
8686 run : |
87- mkdir temp
88- echo 'console.log("success")' > temp/index.js
89- output=$(docker run -w /app -v "$(pwd):/app" --rm node:${{ matrix.version }}-${{ matrix.variant }} temp/index.js)
90- rm -r temp
87+ tmp_file=$(mktemp)
88+ echo 'console.log("success")' > "${tmp_file}"
89+ output=$(docker run --rm -v "${tmp_file}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
9190 [ "${output}" = 'success' ]
9291
9392 - name : Test for npm
You can’t perform that action at this time.
0 commit comments