Skip to content

Commit 7405ed0

Browse files
committed
Added steps for integration tests in pipeline
1 parent 71e8a73 commit 7405ed0

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

azure-pipelines.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,26 @@ pool:
1212
steps:
1313
- task: NodeTool@0
1414
inputs:
15-
versionSpec: '14.x'
16-
displayName: 'Install Node.js 14'
15+
versionSpec: '16.x'
16+
displayName: 'Install Node.js 16'
17+
18+
- bash: |
19+
## Setup
20+
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
21+
sudo install -o root -g root -m 644 microsoft.gpg /etc/apt/trusted.gpg.d/
22+
sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'
23+
sudo rm microsoft.gpg
24+
25+
## Install
26+
sudo apt update
27+
sudo apt install microsoft-edge-dev
28+
displayName: 'Install Microsoft Edge Dev'
1729
1830
- script: |
1931
npm install --progress=false --loglevel=error --no-fund
2032
npm run build
2133
npm run coverage
34+
npm run integration-test
2235
displayName: 'npm install, build and test'
2336
2437
- task: PublishTestResults@2

0 commit comments

Comments
 (0)