From 3765dc9daa6b985400fcb5e607607aca3ca447ce Mon Sep 17 00:00:00 2001 From: j285he Date: Tue, 15 Feb 2022 22:12:20 -0500 Subject: [PATCH] Add .drone.yml (#12) Not actually too sure what I'm doing and if this will work. Let me know. Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com> Reviewed-on: https://git.csclub.uwaterloo.ca/www/library/pulls/12 Reviewed-by: Aditya Thakral Reviewed-by: Amy Reviewed-by: n3parikh Co-authored-by: j285he Co-committed-by: j285he --- .drone.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..4fb6a0b --- /dev/null +++ b/.drone.yml @@ -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 \ No newline at end of file