@dillonkearns/elm-graphql
Version:
<img src="https://cdn.jsdelivr.net/gh/martimatix/logo-graphqelm/logo.svg" alt="dillonearns/elm-graphql logo" width="40%" align="right">
41 lines (33 loc) • 701 B
YAML
sudo: false
language: node_js
node_js: "8.11.4"
os:
- linux
env:
matrix:
- ELM_VERSION=0.19.0
before_install:
- npm i -g npm@lts
- npm i -g elm@0.19.0-no-deps
- npm i -g npm@6.4.1
install:
- npm ci
script:
- echo '$TRAVIS_TAG is ' $TRAVIS_TAG
- npm test
- ./bin/approve
- cd examples/src/subscription/ && npm ci && npm run build && cd ../../..
deploy:
- provider: npm
email: dillon@dillonkearns.com
api_key: $NPM_TOKEN
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_TAG =~ ^v
- provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: examples/src/subscription/dist
on:
branch: master