Add Release protocol
This commit is contained in:
parent
58a881c813
commit
a442ffa144
8 changed files with 318 additions and 114 deletions
|
@ -5,9 +5,7 @@
|
|||
|
||||
trigger:
|
||||
- master
|
||||
- dev
|
||||
- dev*
|
||||
- 0.*
|
||||
- v*
|
||||
|
||||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
@ -33,19 +31,25 @@ steps:
|
|||
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '16.x'
|
||||
displayName: 'Install Node.js 16.x LTS'
|
||||
versionSpec: '18.x'
|
||||
displayName: 'Install Node.js 18.x LTS'
|
||||
|
||||
- bash: |
|
||||
set -euo pipefail
|
||||
node --version
|
||||
node ./test-server/http.js &
|
||||
dotnet run --project=$(CSWebProjectLocation) &
|
||||
jobs
|
||||
sleep 10
|
||||
pnpm i
|
||||
pnpm run test:nowatch
|
||||
pnpm run build
|
||||
displayName: 'Test on Node.js 16.x LTS'
|
||||
kill -2 %1 %2 2>/dev/null
|
||||
displayName: 'Test on Node.js 18.x LTS'
|
||||
|
||||
- task: NodeTool@0
|
||||
inputs:
|
||||
versionSpec: '>=18.7.0'
|
||||
versionSpec: '>=19.1.0'
|
||||
displayName: 'Install Node.js Latest'
|
||||
|
||||
- bash: |
|
||||
|
@ -59,7 +63,7 @@ steps:
|
|||
pnpm run test:nowatch
|
||||
pnpm run build
|
||||
kill -2 %1 %2 2>/dev/null
|
||||
displayName: 'Test on Node.js 18.x Latest'
|
||||
displayName: 'Test on Node.js Latest'
|
||||
|
||||
- bash: |
|
||||
pnpm run linter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue