This improve greatly the performance and the code cleaning. It allows us to separate the inseparable class methods into modules functions
27 lines
No EOL
511 B
YAML
27 lines
No EOL
511 B
YAML
---
|
|
kind: pipeline
|
|
name: node-16-lts
|
|
|
|
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 &
|
|
- pnpm install
|
|
- pnpm run test:nowatch
|
|
- pnpm run build
|
|
|
|
---
|
|
kind: pipeline
|
|
name: node-latest
|
|
|
|
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 &
|
|
- pnpm install
|
|
- pnpm run test:nowatch
|
|
- pnpm run build |