ci-scripts
Version:
Useful scripts to execute from your CI runner. For example, post to Slack and GitHub when your build completes:
24 lines (23 loc) • 329 B
YAML
language: node_js
os:
- linux
cache:
yarn: true
directories:
- ~/.npm
notifications:
email: false
node_js:
- '8'
script:
- npm run build
- npm run test
matrix:
allow_failures: []
fast_finish: true
after_success:
- ./bin/ci.js slack
- ./bin/ci.js github-post
branches:
except:
- /^v\d+\.\d+\.\d+$/