Skip to content

Commit f6ba1fd

Browse files
committed
Temporarily remove subpath import test
1 parent 34bd4df commit f6ba1fd

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.github/workflows/scripts/test_install

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -166,16 +166,17 @@ install_test() {
166166
fi
167167
echo 'Successfully ran test script.' >&2
168168

169-
echo 'Creating test script (import individual package)...' >&2
170-
echo 'import sin from "@stdlib/math/base/special/sin"; console.log( sin( 3.14 ) );' > "${install_dir}/script.mjs"
171-
172-
echo 'Running test script...' >&2
173-
node "${install_dir}/script.mjs"
174-
if [[ "$?" -ne 0 ]]; then
175-
echo "Encountered an error when running test script." >&2
176-
return 1
177-
fi
178-
echo 'Successfully ran test script.' >&2
169+
# FIMXE: uncomment once we've figured out our package.json `exports` strategy...
170+
# echo 'Creating test script (import individual package)...' >&2
171+
# echo 'import sin from "@stdlib/math/base/special/sin"; console.log( sin( 3.14 ) );' > "${install_dir}/script.mjs"
172+
173+
# echo 'Running test script...' >&2
174+
# node "${install_dir}/script.mjs"
175+
# if [[ "$?" -ne 0 ]]; then
176+
# echo "Encountered an error when running test script." >&2
177+
# return 1
178+
# fi
179+
# echo 'Successfully ran test script.' >&2
179180
fi
180181
return 0
181182
}

0 commit comments

Comments
 (0)