Debian Codegraph @

build/azure-pipelines/linux/build.yml

raw
1 steps:
2 - script: |
3 set -e
4 sudo apt-get update
5 sudo apt-get install -y libxkbfile-dev pkg-config libsecret-1-dev libxss1 dbus xvfb libgtk-3-0
6 sudo cp build/azure-pipelines/linux/xvfb.init /etc/init.d/xvfb
7 sudo chmod +x /etc/init.d/xvfb
8 sudo update-rc.d xvfb defaults
9 sudo service xvfb start
10
11 - task: NodeTool@0
12 inputs:
13 versionSpec: '16.14.0'
14 displayName: 'Install Node.js'
15
16 - script: |
17 npm install
18 npm run symlink
19 displayName: 'Install Dependencies'
20
21 - script: |
22 npm run compile
23 displayName: 'Compile'
24
25 - script: |
26 npm run lint
27 displayName: 'Hygiene Checks'
28
29 - script: |
30 DISPLAY=:10 npm run test
31 displayName: 'Unit Tests'