We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee21b00 commit 7e60fcdCopy full SHA for 7e60fcd
1 file changed
.github/workflows/build-test.yml
@@ -82,12 +82,11 @@ jobs:
82
echo "Expected: \"${{ matrix.version }}\", Got: \"${image_node_version}\""
83
[ "${image_node_version}" == "${{ matrix.version }}" ]
84
85
- - name: Regression test for issue 1456
+ - name: Verify endpoint executes regular files with node
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
+ tmp_file=$(mktemp)
+ echo 'console.log("success")' > "${tmp_file}"
+ output=$(docker run --rm -v "${tmp_file}:/app/index.js" node:${{ matrix.version }}-${{ matrix.variant }} app/index.js)
91
[ "${output}" = 'success' ]
92
93
- name: Test for npm
0 commit comments