File tree 4 files changed +430
-13
lines changed
4 files changed +430
-13
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,14 @@ set -euo pipefail
4
4
main () {
5
5
cd " $( dirname " $0 " ) /../.."
6
6
7
- echo ' Installing code-server test dependencies...'
7
+ echo " Installing code-server test dependencies..."
8
8
9
9
cd test
10
10
yarn install
11
11
cd ..
12
12
13
13
cd vendor
14
- echo ' Installing vendor dependencies...'
14
+ echo " Installing vendor dependencies..."
15
15
16
16
# * We install in 'modules' instead of 'node_modules' because VS Code's extensions
17
17
# use a webpack config which cannot differentiate between its own node_modules
@@ -21,7 +21,14 @@ main() {
21
21
# devDependencies are not needed, and that even git repo based packages are
22
22
# assumed to be compiled. Because the default behavior for VS Code's `postinstall`
23
23
# assumes we're also compiled, this needs to be ignored.
24
- yarn install --modules-folder modules --ignore-scripts --frozen-lockfile
24
+
25
+ local args=(install --modules-folder modules --ignore-scripts)
26
+
27
+ if [[ ${CI-} ]]; then
28
+ args+=(" --frozen-lockfile" )
29
+ fi
30
+
31
+ yarn " ${args[@]} "
25
32
26
33
# Finally, run the vendor `postinstall`
27
34
yarn run postinstall
Original file line number Diff line number Diff line change 20
20
Current maintainers:
21
21
22
22
- @code-asher
23
+ - @TeffenEllis
23
24
- @oxy
24
25
- @jsjoeio
25
26
Original file line number Diff line number Diff line change 7
7
"postinstall" : " ./postinstall.sh"
8
8
},
9
9
"devDependencies" : {
10
- "code-oss-dev" : " cdr/vscode#96a09a7846538c3bbedb6a2aeca729537bb8202b "
10
+ "code-oss-dev" : " cdr/vscode#9cb5fb3759f46b10bc66e676fa7f44c51e84824b "
11
11
}
12
12
}
You can’t perform that action at this time.
0 commit comments