mirror of
https://github.com/zhigang1992/styled-components.git
synced 2026-04-30 02:06:07 +08:00
35 lines
598 B
YAML
35 lines
598 B
YAML
language: node_js
|
|
dist: bionic
|
|
addons:
|
|
chrome: beta
|
|
branches:
|
|
only:
|
|
- master
|
|
- canary
|
|
- v5
|
|
env:
|
|
global:
|
|
- GOOGLE_CHROME_BINARY="/usr/bin/google-chrome-beta"
|
|
- PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
|
|
node_js:
|
|
- "12"
|
|
- "10"
|
|
before_install:
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
|
install: yarn --frozen-lockfile
|
|
script:
|
|
- node --version
|
|
- yarn --version
|
|
- yarn test
|
|
- yarn flow
|
|
- yarn lint
|
|
- yarn build
|
|
notifications:
|
|
email:
|
|
on_failure: change
|
|
cache:
|
|
yarn: true
|
|
directories:
|
|
- node_modules
|