svg-layout-designer-react/azure-pipelines.yml
Eric Nguyen 60247d6f45
All checks were successful
continuous-integration/drone/push Build is passing
Merged PR 10: Set up CI with Azure Pipelines
2022-08-08 14:14:12 +00:00

25 lines
515 B
YAML

# 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'