Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ....
- progressive-lint:
- group: build
- image: node:8.9.4
- commands:
- - git fetch origin master
- - FILES_CHANGED=$(git diff --name-only origin/master | grep '.js*$' || true)
- - npm run lint:progressive $FILES_CHANGED --unsafe-perm --quiet
- when:
- branch:
- exclude: [ master, hotfix/* ]
Add Comment
Please, Sign In to add comment