svg-layout-designer-react/azure-pipelines.yml
Siklos 87369ee90d
All checks were successful
continuous-integration/drone/push Build is passing
azure-pipeline: Clean node process
2022-08-08 16:45:22 +02:00

41 lines
No EOL
823 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 16.x LTS'
- script: |
node --version
node ./test-server/node-http.js &
jobs
npm ci
npm run test:nowatch
killall node
displayName: 'Test on Node.js 16.x LTS'
- task: NodeTool@0
inputs:
versionSpec: '>=18.7.0'
displayName: 'Install Node.js Latest'
- script: |
node --version
node ./test-server/node-http.js &
jobs
npm ci
npm run test:nowatch
killall node
displayName: 'Test on Node.js 18.x Latest'