Compare commits
2 commits
fd4cd08219
...
161a2cfb3e
Author | SHA1 | Date | |
---|---|---|---|
|
161a2cfb3e | ||
1613617c3f |
3 changed files with 3626 additions and 4 deletions
|
@ -11,7 +11,21 @@ trigger:
|
||||||
pool:
|
pool:
|
||||||
vmImage: ubuntu-latest
|
vmImage: ubuntu-latest
|
||||||
|
|
||||||
|
variables:
|
||||||
|
pnpm_config_cache: $(Pipeline.Workspace)/.pnpm-store
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- task: Cache@2
|
||||||
|
inputs:
|
||||||
|
key: 'pnpm | "$(Agent.OS)" | pnpm-lock.yaml'
|
||||||
|
path: $(pnpm_config_cache)
|
||||||
|
displayName: Cache pnpm
|
||||||
|
|
||||||
|
- script: |
|
||||||
|
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
|
||||||
|
pnpm config set store-dir $(pnpm_config_cache)
|
||||||
|
displayName: "Setup pnpm"
|
||||||
|
|
||||||
- task: NodeTool@0
|
- task: NodeTool@0
|
||||||
inputs:
|
inputs:
|
||||||
versionSpec: '16.x'
|
versionSpec: '16.x'
|
||||||
|
@ -21,8 +35,8 @@ steps:
|
||||||
node --version
|
node --version
|
||||||
node ./test-server/node-http.js &
|
node ./test-server/node-http.js &
|
||||||
jobs
|
jobs
|
||||||
npm ci
|
pnpm i
|
||||||
npm run test:nowatch
|
pnpm run test:nowatch
|
||||||
kill -2 %1 2>/dev/null
|
kill -2 %1 2>/dev/null
|
||||||
displayName: 'Test on Node.js 16.x LTS'
|
displayName: 'Test on Node.js 16.x LTS'
|
||||||
|
|
||||||
|
@ -35,7 +49,7 @@ steps:
|
||||||
node --version
|
node --version
|
||||||
node ./test-server/node-http.js &
|
node ./test-server/node-http.js &
|
||||||
jobs
|
jobs
|
||||||
npm ci
|
pnpm i
|
||||||
npm run test:nowatch
|
pnpm run test:nowatch
|
||||||
kill -2 %1 2>/dev/null
|
kill -2 %1 2>/dev/null
|
||||||
displayName: 'Test on Node.js 18.x Latest'
|
displayName: 'Test on Node.js 18.x Latest'
|
|
@ -20,6 +20,7 @@
|
||||||
"react-svg-pan-zoom": "^3.11.0"
|
"react-svg-pan-zoom": "^3.11.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@testing-library/dom": "^8.16.1",
|
||||||
"@testing-library/jest-dom": "^5.16.4",
|
"@testing-library/jest-dom": "^5.16.4",
|
||||||
"@testing-library/react": "^13.3.0",
|
"@testing-library/react": "^13.3.0",
|
||||||
"@testing-library/user-event": "^14.4.1",
|
"@testing-library/user-event": "^14.4.1",
|
||||||
|
|
3607
pnpm-lock.yaml
generated
Normal file
3607
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue