Add pnpm to drone.yml #20
1 changed files with 6 additions and 4 deletions
10
.drone.yml
10
.drone.yml
|
@ -6,9 +6,10 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: node:16
|
image: node:16
|
||||||
commands:
|
commands:
|
||||||
|
- curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
|
||||||
- node ./test-server/node-http.js &
|
- node ./test-server/node-http.js &
|
||||||
- npm install
|
- pnpm install
|
||||||
- npm run test:nowatch
|
- pnpm run test:nowatch
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
@ -18,6 +19,7 @@ steps:
|
||||||
- name: test
|
- name: test
|
||||||
image: node
|
image: node
|
||||||
commands:
|
commands:
|
||||||
|
- curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm@7
|
||||||
- node ./test-server/node-http.js &
|
- node ./test-server/node-http.js &
|
||||||
- npm install
|
- pnpm install
|
||||||
- npm run test:nowatch
|
- pnpm run test:nowatch
|
Loading…
Add table
Add a link
Reference in a new issue