kind: 'pipeline' type: 'docker' name: pomme-pipeline steps: - name: lint-frontend image: node:18-alpine commands: - corepack enable - corepack prepare pnpm@latest --activate - pnpm -F frontend install - 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-frontend image: node:18-alpine commands: - pnpm -F frontend test:unit depends_on: - 'cache' - name: test-backend image: golang:1.20 commands: - cp config.sample.yaml ./internal/api/config.yaml - make test-backend depends_on: - 'cache' volumes: - name: 'cache' - path: '/go'