Skip to content

Commit d00dc17

Browse files
committed
fix: update test.sh and postinstall.sh
1 parent 73a8fda commit d00dc17

File tree

3 files changed

+10
-23
lines changed

3 files changed

+10
-23
lines changed

ci/dev/postinstall.sh

+8
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ main() {
55
cd "$(dirname "$0")/../.."
66
source ./ci/lib.sh
77

8+
cd test
9+
yarn
10+
cd ..
11+
12+
if [[ -d test/node_modules ]]; then
13+
echo "!!!!! yo we got node modules"
14+
fi
15+
816
cd lib/vscode
917
yarn ${CI+--frozen-lockfile}
1018

ci/dev/test.sh

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ set -euo pipefail
33

44
main() {
55
cd "$(dirname "$0")/../.."
6-
cd test
7-
# We need to make sure the dependencies are installed
8-
# because we run jest from node_modules
9-
yarn
10-
cd test-plugin
6+
cd test/test-plugin
117
make -s out/index.js
128
# We must keep jest in a sub-directory. See ../../test/package.json for more
139
# information. We must also run it from the root otherwise coverage will not

yarn.lock

+1-18
Original file line numberDiff line numberDiff line change
@@ -1098,14 +1098,6 @@
10981098
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.0.tgz#69a23a3ad29caf0097f06eda59b361ee2f0639f6"
10991099
integrity sha1-aaI6OtKcrwCX8G7aWbNh7i8GOfY=
11001100

1101-
"@types/node-fetch@^2.5.7":
1102-
version "2.5.7"
1103-
resolved "https://registry.yarnpkg.com/@types/node-fetch/-/node-fetch-2.5.7.tgz#20a2afffa882ab04d44ca786449a276f9f6bbf3c"
1104-
integrity sha512-o2WVNf5UhWRkxlf6eq+jMZDu7kjgpgJfl4xVNlvryc95O/6F2ld8ztKX+qu+Rjyet93WAWm5LjeX9H5FGkODvw==
1105-
dependencies:
1106-
"@types/node" "*"
1107-
form-data "^3.0.0"
1108-
11091101
"@types/node@*", "@types/node@^12.12.7":
11101102
version "12.12.67"
11111103
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.67.tgz#4f86badb292e822e3b13730a1f9713ed2377f789"
@@ -2164,7 +2156,7 @@ colorette@^1.2.1:
21642156
resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b"
21652157
integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==
21662158

2167-
combined-stream@^1.0.6, combined-stream@^1.0.8, combined-stream@~1.0.6:
2159+
combined-stream@^1.0.6, combined-stream@~1.0.6:
21682160
version "1.0.8"
21692161
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
21702162
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
@@ -3449,15 +3441,6 @@ forever-agent@~0.6.1:
34493441
resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91"
34503442
integrity sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=
34513443

3452-
form-data@^3.0.0:
3453-
version "3.0.0"
3454-
resolved "https://registry.yarnpkg.com/form-data/-/form-data-3.0.0.tgz#31b7e39c85f1355b7139ee0c647cf0de7f83c682"
3455-
integrity sha512-CKMFDglpbMi6PyN+brwB9Q/GOw0eAnsrEZDgcsH5Krhz5Od/haKHAX0NmQfha2zPPz0JpWzA7GJHGSnvCRLWsg==
3456-
dependencies:
3457-
asynckit "^0.4.0"
3458-
combined-stream "^1.0.8"
3459-
mime-types "^2.1.12"
3460-
34613444
form-data@~2.3.2:
34623445
version "2.3.3"
34633446
resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6"

0 commit comments

Comments
 (0)