File: build.yml

package info (click to toggle)
node-vscode-lsp 1.0.0~git20230424.1320922-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 4,140 kB
  • sloc: javascript: 451; sh: 41; makefile: 23
file content (31 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
steps:
- script: |
    set -e
    sudo apt-get update
    sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0
    sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
    sudo chmod +x /etc/init.d/xvfb
    sudo update-rc.d xvfb defaults
    sudo service xvfb start

- task: NodeTool@0
  inputs:
    versionSpec: '16.14.0'
  displayName: 'Install Node.js'

- script: |
    npm install
    npm run symlink
  displayName: 'Install Dependencies'

- script: |
    npm run compile
  displayName: 'Compile'

- script: |
    npm run lint
  displayName: 'Hygiene Checks'

- script: |
    DISPLAY=:10 npm run test
  displayName: 'Unit Tests'