From ecbea5e23843c87e82ad7fcc6b822f7a1ebda42c Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 1 Aug 2023 10:50:46 +0100 Subject: [PATCH] Setup checks --- .drone.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .drone.yaml diff --git a/.drone.yaml b/.drone.yaml new file mode 100644 index 0000000..bc3d638 --- /dev/null +++ b/.drone.yaml @@ -0,0 +1,24 @@ +--- +kind: pipeline +type: kubernetes +name: test-lint +concurrency: + limit: 1 +metadata: + namespace: git +steps: + - name: Test/Lint + image: node:current-bullseye + volumes: + - name: cache + path: /cache + environment: + YARN_CACHE_FOLDER: /cache/.yarn-test + commands: + - yarn install + - yarn eslint src/ + - yarn prettier --check src/ +volumes: + - name: cache + claim: + name: docker-cache \ No newline at end of file