Skip to content

Commit dd8124f

Browse files
committed
Symlink VS Code output directory before unit tests
This is necessary now that we import from the out directory.
1 parent fd42387 commit dd8124f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,12 @@ jobs:
147147
run: yarn build:vscode
148148

149149
# Our code imports code from VS Code's output directory meaning VS Code
150-
# must be built before running these tests.
150+
# must be built before running these tests. It looks for `out` in order
151+
# to works during development (for release we move `out-build` to `out`)
152+
# so symlink `out` to `out-build` as this is a production build.
153+
- name: Link vscode
154+
run: ln -s out-build vendor/modules/code-oss-dev/out
155+
151156
# TODO: Move to its own step?
152157
- name: Run code-server unit tests
153158
run: yarn test:unit

0 commit comments

Comments
 (0)