Add a job for vscode extension

This commit is contained in:
Alexander Bantyev 2020-09-12 18:43:02 +03:00
parent db9371bfa6
commit 977bb1095c
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -199,3 +199,16 @@ pages-attempt:
only: only:
- merge_requests - merge_requests
- /^.*-run-dev$/ - /^.*-run-dev$/
vscode-extension:
extends: .nix
only:
- merge_requests
- dev
- /^.*-run-dev$/
script:
- nix-build tools/lsp -A ligo-vscode-extension
- cp -Lr --no-preserve=mode,ownership,timestamps result/*.vsix ligo-extension.vsix
artifacts:
paths:
- ligo-extension.vsix