Add .drone.yml #12
|
@ -0,0 +1,24 @@
|
|||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: node16
|
||||
|
||||
steps:
|
||||
- name: install-deps
|
||||
image: node:16
|
||||
commands:
|
||||
- npm install
|
||||
|
||||
- name: lint
|
||||
|
||||
image: node:16
|
||||
depends_on:
|
||||
- install-deps
|
||||
commands:
|
||||
- npm run lint
|
||||
|
||||
- name: build
|
||||
image: node:16
|
||||
depends_on:
|
||||
- install-deps
|
||||
commands:
|
||||
- npm run build
|
Loading…
Reference in New Issue
You can also get rid of this.
Some context: When we were building the website npm v6 was fairly common which generated v1 lock files. npm 7 and 8 generate v2 lockfiles and these versions are common these days.
Nevertheless, if we want to run this as part of CI then that's fine too, but make sure to include the check-lockfiles.js file from the website as well.