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:
82
82
echo "Expected: \"${{ matrix.version }}\", Got: \"${image_node_version}\""
83
83
[ "${image_node_version}" == "${{ matrix.version }}" ]
84
84
85
- - name : Regression test for issue 1456
85
+ - name : Verify endpoint executes regular files with node
86
86
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)
91
90
[ "${output}" = 'success' ]
92
91
93
92
- name : Test for npm
You can’t perform that action at this time.
0 commit comments