Skip to content

Commit f89c716

Browse files
committed
[ADD] a test run in the local compilation of the packages
1 parent 885100e commit f89c716

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

vscode/asperheader/package_extension.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ if [ $STATUS -ne 0 ]; then
3232
echo "Pre-publishing step failed, se above for more details."
3333
exit $STATUS
3434
fi
35+
echo "Running tests..."
36+
npm run test
37+
STATUS=$?
38+
if [ $STATUS -ne 0 ]; then
39+
echo "Test run failed, see above for more details."
40+
exit $STATUS
41+
fi
3542
echo "Running the intergrated vsce:package (if present)..."
3643
npm run vsce:package
3744
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)