Some checks failed
continuous-integration/drone/push Build is failing
We use killall to stop node from running but az pipe catch SIGTERM. Let's rather use SIGINT
25 lines
No EOL
385 B
YAML
25 lines
No EOL
385 B
YAML
---
|
|
kind: pipeline
|
|
name: node-16-lts
|
|
|
|
steps:
|
|
- name: test
|
|
image: node:16
|
|
commands:
|
|
- node ./test-server/node-http.js &
|
|
- npm install
|
|
- npm run test:nowatch
|
|
- kill -2 %1 2>/dev/null
|
|
|
|
---
|
|
kind: pipeline
|
|
name: node-latest
|
|
|
|
steps:
|
|
- name: test
|
|
image: node
|
|
commands:
|
|
- node ./test-server/node-http.js &
|
|
- npm install
|
|
- npm run test:nowatch
|
|
- kill -2 %1 2>/dev/null |