github.com/drone/go-convert@v0.0.0-20240307072510-6bd371c65e61/samples/bitbucket.yaml (about) 1 clone: 2 depth: 50 3 4 image: node 5 6 options: 7 docker: true 8 9 definitions: 10 caches: 11 npm-cache: 12 key: 13 files: 14 - package.json 15 path: node_modules 16 services: 17 postgres: 18 image: postgres:latest 19 20 pipelines: 21 default: 22 - step: 23 caches: 24 - npm-cache 25 script: 26 - npm install 27 - parallel: 28 steps: 29 - step: 30 caches: 31 - npm-cache 32 script: 33 - npm run test 34 - step: 35 image: golang 36 script: 37 - go test ./... 38 services: 39 - postgres 40 - stage: 41 steps: 42 - step: 43 script: 44 - docker build .