Skip to content

Commit 0539413

Browse files
committed
refactor: add SKIP_SUBMODULE_DEPS to postinstall
1 parent 98929b2 commit 0539413

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ jobs:
289289
run: source scl_source enable devtoolset-9 && yarn release:standalone
290290

291291
- name: Install test dependencies
292-
run: yarn install --ignore-scripts && cd test && yarn install
292+
run: yarn install
293293

294294
- name: Run integration tests on standalone release
295295
run: yarn test:integration
@@ -425,7 +425,7 @@ jobs:
425425
run: yarn release:standalone
426426

427427
- name: Install test dependencies
428-
run: yarn install --ignore-scripts && cd test && yarn install
428+
run: yarn install
429429

430430
- name: Run integration tests on standalone release
431431
run: yarn test:integration

ci/dev/postinstall.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,11 @@ main() {
2929

3030
install-deps test
3131
install-deps test/e2e/extensions/test-extension
32-
install-deps lib/vscode
32+
# We don't need these when running the integration tests
33+
# so you can pass SKIP_SUBMODULE_DEPS
34+
if [[ ! ${SKIP_SUBMODULE_DEPS-} ]]; then
35+
install-deps lib/vscode
36+
fi
3337
}
3438

3539
main "$@"

0 commit comments

Comments
 (0)