forked from Kieran/zap.stream
24 lines
432 B
YAML
24 lines
432 B
YAML
|
---
|
||
|
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
|