Skip to content

Commit 04aac2d

Browse files
committed
try
1 parent f3ed580 commit 04aac2d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ dist*
88
tests/e2e/node-js/package.json
99
tests/e2e/node-js/yarn.lock
1010
tests/e2e/typescript/package.json
11-
tests/e2e/typescript/yarn.lock
11+
tests/e2e/typescript/yarn.lock
12+
.cache
13+
yarn-error.log
14+
*.tgz

test-e2e.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1+
rm -rf .cache
2+
export YARN_CACHE_FOLDER=.cache
13
npm pack
24
cd tests/e2e/node-js
35
yarn init --yes
46
echo "Installing local bundle from TAR in NodeJS project"
57
yarn add ../../../imagekit*.tgz
68
node index.js;test_result=$?
9+
echo test_result
710
if ((test_result != 0)); then
811
printf '%s\n' "Final bundle not working in NodeJS project" >&2
912
exit 1
@@ -16,6 +19,7 @@ yarn add typescript --dev
1619
echo "Installing local bundle from TAR in Typescript project"
1720
yarn add ../../../imagekit*.tgz
1821
npx tsc && node index.js;test_result=$?
22+
echo test_result
1923
if ((test_result != 0)); then
2024
printf '%s\n' "Final bundle not working in Typescript project" >&2
2125
exit 1

0 commit comments

Comments
 (0)