forked from onivim/oni2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
esy-check-hygiene.yml
32 lines (31 loc) · 1.38 KB
/
esy-check-hygiene.yml
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
32
# Cross-platform set of build steps for building esy projects
steps:
- task: NodeTool@0
inputs:
versionSpec: '8.9'
- script: npm install -g [email protected]
displayName: 'npm install -g [email protected]'
- script: esy install
displayName: 'esy install'
- script: git diff --exit-code
displayName: 'check that `esy.lock` is up-to-date. If this fails, commit `esy.lock` changes and re-submit PR.'
- script: esy @bench install
displayName: 'esy @bench install'
- script: git diff --exit-code
displayName: 'check that `bench.esy.lock` is up-to-date. If this fails, commit `bench.esy.lock` changes and re-submit PR.'
- script: esy @test install
displayName: 'esy @test install'
- script: git diff --exit-code
displayName: 'check that `test.esy.lock` is up-to-date. If this fails, commit `test.esy.lock` changes and re-submit PR.'
- script: esy @integrationtest install
displayName: 'esy @integrationtest install'
- script: git diff --exit-code
displayName: 'check that `test.esy.lock` is up-to-date. If this fails, commit `test.esy.lock` changes and re-submit PR.'
- script: esy bootstrap
displayName: 'esy bootstrap'
- script: esy build
displayName: 'esy build'
- script: esy format
displayName: esy format
- script: git diff --exit-code
displayName: 'check that formatting is correct. If this fails, run `esy format` and re-submit PR.'