2023-08-01 09:50:46 +00:00
|
|
|
---
|
|
|
|
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/
|
2023-08-01 10:01:00 +00:00
|
|
|
- yarn tsc --noEmit
|
2023-08-01 09:50:46 +00:00
|
|
|
volumes:
|
|
|
|
- name: cache
|
|
|
|
claim:
|
2023-08-22 21:50:26 +00:00
|
|
|
name: docker-cache
|