@axelspringer/graphql-google-pubsub
Version:
A graphql-subscriptions PubSub Engine using Google PubSub
32 lines (26 loc) • 788 B
YAML
language: node_js
node_js:
- "8"
matrix:
include:
- sudo: false
env: MODE=TEST
- sudo: true
env: MODE=BENCHMARK
install:
- npm i
- npm prune
- npm run dist
script:
- if [ "$MODE" = "TEST" ]; then npm run danger; fi
# using jest --coverage also runs the tests so this will cut down CI time
- if [ "$MODE" = "TEST" ]; then npm run coverage; fi
# run coverage and file size checks
# this is timing out?
- if [ "$MODE" = "TEST" ]; then npm run coverage:upload || true; fi #ignore failures
# make sure files don't get too large
- if [ "$MODE" = "TEST" ]; then npm run filesize; fi
check benchmarks for performance drops
- if [ "$MODE" = "BENCHMARK" ]; then npm run benchmark; fi
notifications:
email: false