Add script for publishing to OpenVsx #683
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AzurePipelines | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Prepare: Checkout Repository" | |
uses: actions/checkout@v2 | |
- name: "Install Node.js" | |
uses: actions/setup-node@v3 | |
- name: "Start xvfb" | |
run: | | |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
echo ">>> Started xvfb" | |
- name: "Run tests" | |
run: | | |
pwd | |
ls | |
echo ">>> Compile ide-vscode" | |
npm install && npm run compile-tests && npm run compile && npm run lint | |
echo ">>> Compiled ide-vscode" | |
echo ">>> Run integration test" | |
npm test | |
env: | |
DISPLAY: ':99.0' |