clone: git: image: woodpeckerci/plugin-git settings: depth: 1 # CI does not need commit history recursive: true depends_on: - build pipeline: build: when: branch: main event: push image: node:18.6.0 commands: - yarn install - git diff --exit-code yarn.lock - yarn build