We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3101ce6 commit f89451fCopy full SHA for f89451f
.github/workflows/build-test.yml
@@ -82,6 +82,13 @@ jobs:
82
echo "Expected: \"${{ matrix.version }}\", Got: \"${image_node_version}\""
83
[ "${image_node_version}" == "${{ matrix.version }}" ]
84
85
+ - name: Verify entrypoint runs regular, non-executable files with node
86
+ run: |
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)
90
+ [ "${output}" = 'success' ]
91
+
92
- name: Test for npm
93
run: docker run --rm node:${{ matrix.version }}-${{ matrix.variant }} npm --version
94
0 commit comments