Setup checks

This commit is contained in:
Kieran 2023-08-01 10:50:46 +01:00
parent 5312fdfee6
commit ecbea5e238
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

24
.drone.yaml Normal file
View File

@ -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