UNPKG

bonsai-analyzer

Version:
61 lines (53 loc) 1.29 kB
language: node_js node_js: - node - 12 - 10 - 8 env: - SKIP_PREFLIGHT_CHECK=true cache: yarn before_install: - export PATH=$PATH:`yarn global bin` - yarn global add greenkeeper-lockfile@1 before_script: - greenkeeper-lockfile-update script: - yarn eslint ./src - yarn mdspell --en-gb --ignore-numbers --ignore-acronyms docs/**/*.md - yarn flow check - yarn flow-annotation-check - npx flow-coverage-report -t text - yarn rebuild:integration-fixtures - yarn react-scripts test --coverage - yarn codecov - yarn build-storybook -o 'docs/storybook' - | NODE_ENV=production \ PUBLIC_URL=https://pinterest.github.io/bonsai/analyze/ \ REACT_APP_API_LIST_ENDPOINT=/bonsai/example-index.json \ REACT_APP_EXTERNAL_URL_PREFIX= \ yarn react-scripts build && \ mv build docs/analyze - yarn build:cli after_script: - greenkeeper-lockfile-upload before_deploy: - yarn predeploy deploy: - provider: pages target_branch: gh-pages local_dir: docs skip_cleanup: true github_token: $GITHUB_TOKEN on: repo: pinterest/bonsai branch: master node: node - provider: npm api_key: $NPM_API_KEY email: "ryan@ryanalbrecht.ca" on: repo: pinterest/bonsai tags: true node: node