-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Set up CI with Azure Pipelines
- Loading branch information
1 parent
b97d9a3
commit f8b0c8e
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Node.js | ||
# Build a general Node.js application with npm. | ||
# Add steps that analyze code, save build artifacts, deploy, and more: | ||
# https://docs.microsoft.com/vsts/pipelines/languages/javascript | ||
|
||
pool: | ||
vmImage: 'Ubuntu 16.04' | ||
|
||
strategy: | ||
matrix: | ||
node_10_x: | ||
node_version: 10.x | ||
node_8_x: | ||
node_version: 8.x | ||
node_6_x: | ||
node_version: 6.x | ||
|
||
steps: | ||
- task: NodeTool@0 | ||
inputs: | ||
version: $(node_version) | ||
displayName: 'Install Node.js' | ||
|
||
- script: | | ||
npm ci | ||
npm run ci | ||
displayName: 'npm install and test' |