mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-04 08:54:36 +03:00
68a98d8e95
no issue - top-level env entries result in a separate build for each env so they need to be listed under the `global` key
39 lines
574 B
YAML
39 lines
574 B
YAML
sudo: required
|
|
dist: trusty
|
|
|
|
language: node_js
|
|
node_js:
|
|
- "10"
|
|
|
|
env:
|
|
global:
|
|
- MOZ_HEADLESS=1
|
|
- JOBS=1 # See https://git.io/vdao3 for details.
|
|
- GITHUB_OAUTH_KEY=003a44d58f12089d0c0261338298af3813330949
|
|
|
|
branches:
|
|
except:
|
|
- /^renovate\//
|
|
|
|
cache:
|
|
yarn: true
|
|
|
|
addons:
|
|
firefox: "latest"
|
|
chrome: "stable"
|
|
|
|
before_install:
|
|
# install latest yarn
|
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
|
- export PATH=$HOME/.yarn/bin:$PATH
|
|
|
|
install:
|
|
- yarn
|
|
|
|
script:
|
|
- npm run lint:js
|
|
- COVERAGE=true npm test
|
|
|
|
after_success:
|
|
- npm run coverage
|