Merged PR 10: Set up CI with Azure Pipelines
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Eric Nguyen 2022-08-08 14:14:12 +00:00
parent 49a558589c
commit 60247d6f45
3 changed files with 28 additions and 2 deletions

25
azure-pipelines.yml Normal file
View file

@ -0,0 +1,25 @@
# Node.js with React
# Build a Node.js project that uses React.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- master
- dev
- dev*
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '16.x'
displayName: 'Install Node.js'
- script: |
node --version
node ./test-server/node-http.js &
npm install
npm run test:nowatch
displayName: 'npm install and test'