Sam Therapy
dd6144ed41
All checks were successful
continuous-integration/drone/push Build is passing
and add PNPM instead of yarn Signed-off-by: Sam Therapy <sam@samtherapy.net>
22 lines
376 B
YAML
22 lines
376 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: dependencies
|
|
image: node
|
|
commands:
|
|
- curl -L https://pnpm.js.org/pnpm.js | node - add --global pnpm@7
|
|
- pnpm i
|
|
|
|
- name: lint
|
|
image: node
|
|
commands:
|
|
- npm run lint:ci
|
|
depends: [dependencies]
|
|
|
|
- name: test
|
|
image: node
|
|
commands:
|
|
- npm run test
|
|
depends: [lint]
|