Skip to content

Instantly share code, notes, and snippets.

@grigio
Created October 27, 2017 16:08
Show Gist options
  • Save grigio/6861dc4d618f526fa6dba8895bef6a70 to your computer and use it in GitHub Desktop.
Save grigio/6861dc4d618f526fa6dba8895bef6a70 to your computer and use it in GitHub Desktop.
bitbucket-pipelines.yml
image: node:8
clone:
depth: full
pipelines:
custom:
developmanual:
- step:
script:
- git config --global user.email "[email protected]" && git config --global user.name "Your Name"
- echo "Check if the PR branch is rebased"; git rebase origin/master | grep -v "up to date" && exit 1
- npm run test
branches:
develop:
- step:
caches:
- node
script:
- ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment