Skip to content

Commit d602bee

Browse files
committed
Move to azure pipelines.
1 parent 3caa9e2 commit d602bee

File tree

2 files changed

+24
-22
lines changed

2 files changed

+24
-22
lines changed

.travis.yml

Lines changed: 0 additions & 22 deletions
This file was deleted.

azure-pipelines.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
pool:
2+
vmImage: 'ubuntu-latest'
3+
4+
steps:
5+
6+
- task: NodeTool@0
7+
inputs:
8+
versionSpec: '10.x'
9+
displayName: 'Install Node.js'
10+
- bash: npm install
11+
displayName: 'Install dependencies'
12+
- bash: npm run build
13+
displayName: 'Build'
14+
- bash: npm run test-with-coverage
15+
displayName: 'Test'
16+
- bash: npm run eslint
17+
displayName: 'Lint'
18+
- task: Npm@1
19+
inputs:
20+
command: publish
21+
publishEndpoint: npm
22+
displayName: 'Publish to npm'
23+
condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'), ne(variables['Build.Reason'], 'PullRequest'))
24+

0 commit comments

Comments
 (0)