File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 88tests /e2e /node-js /package.json
99tests /e2e /node-js /yarn.lock
1010tests /e2e /typescript /package.json
11- tests /e2e /typescript /yarn.lock
11+ tests /e2e /typescript /yarn.lock
12+ .cache
13+ yarn-error.log
14+ * .tgz
Original file line number Diff line number Diff line change 1+ rm -rf .cache
2+ export YARN_CACHE_FOLDER=.cache
13npm pack
24cd tests/e2e/node-js
35yarn init --yes
46echo " Installing local bundle from TAR in NodeJS project"
57yarn add ../../../imagekit* .tgz
68node index.js; test_result=$?
9+ echo test_result
710if (( 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
1619echo " Installing local bundle from TAR in Typescript project"
1720yarn add ../../../imagekit* .tgz
1821npx tsc && node index.js; test_result=$?
22+ echo test_result
1923if (( test_result != 0 )) ; then
2024 printf ' %s\n' " Final bundle not working in Typescript project" >&2
2125 exit 1
You can’t perform that action at this time.
0 commit comments