Compare commits
3 commits
fd4cd08219
...
900e925531
Author | SHA1 | Date | |
---|---|---|---|
900e925531 | |||
|
161a2cfb3e | ||
1613617c3f |
4 changed files with 3632 additions and 8 deletions
10
.drone.yml
10
.drone.yml
|
@ -6,9 +6,10 @@ steps:
|
|||
- name: test
|
||||
image: node:16
|
||||
commands:
|
||||
- curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
|
||||
- node ./test-server/node-http.js &
|
||||
- npm install
|
||||
- npm run test:nowatch
|
||||
- pnpm install
|
||||
- pnpm run test:nowatch
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -18,6 +19,7 @@ steps:
|
|||
- name: test
|
||||
image: node
|
||||
commands:
|
||||
- curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
|
||||
- node ./test-server/node-http.js &
|
||||
- npm install
|
||||
- npm run test:nowatch
|
||||
- pnpm install
|
||||
- pnpm run test:nowatch
|
|
@ -11,7 +11,21 @@ trigger:
|
|||
pool:
|
||||
vmImage: ubuntu-latest
|
||||
|
||||
variables:
|
||||
pnpm_config_cache: $(Pipeline.Workspace)/.pnpm-store
|
||||
|
||||
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
|
||||
inputs:
|
||||
versionSpec: '16.x'
|
||||
|
@ -21,8 +35,8 @@ steps:
|
|||
node --version
|
||||
node ./test-server/node-http.js &
|
||||
jobs
|
||||
npm ci
|
||||
npm run test:nowatch
|
||||
pnpm i
|
||||
pnpm run test:nowatch
|
||||
kill -2 %1 2>/dev/null
|
||||
displayName: 'Test on Node.js 16.x LTS'
|
||||
|
||||
|
@ -35,7 +49,7 @@ steps:
|
|||
node --version
|
||||
node ./test-server/node-http.js &
|
||||
jobs
|
||||
npm ci
|
||||
npm run test:nowatch
|
||||
pnpm i
|
||||
pnpm run test:nowatch
|
||||
kill -2 %1 2>/dev/null
|
||||
displayName: 'Test on Node.js 18.x Latest'
|
|
@ -20,6 +20,7 @@
|
|||
"react-svg-pan-zoom": "^3.11.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/dom": "^8.16.1",
|
||||
"@testing-library/jest-dom": "^5.16.4",
|
||||
"@testing-library/react": "^13.3.0",
|
||||
"@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