kind: 'pipeline' type: 'docker' name: pomme-pipeline steps: - name: lint-frontend image: guergeiro/pnpm commands: - cd frontend && npm i - cd .. && make frontend - make lint-frontend - name: lint-backend image: golangci/golangci-lint commands: - make lint-backend - name: cache image: golang:1.20 commands: - go mod tidy && go mod vendor depends_on: - 'lint-backend' - 'lint-frontend' volumes: - name: 'cache' - path: '/go' - name: 'test' image: golang:1.20 commands: - cp config.sample.yaml config.yaml - 'make test-backend' depends_on: - 'cache' volumes: - name: 'cache' - path: '/go'