debian-image-builder-frontend/.travis.yml
2022-04-21 14:42:55 +02:00

25 lines
579 B
YAML

language: node_js
sudo: required
branches:
only:
- main
- stage-stable
- prod-beta
- prod-stable
notifications:
email: false
node_js:
- '16'
install:
- npm ci
script:
- NODE_ENV=production npm run build
- npm run lint
- npm run test
- npx codecov
after_success:
- curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
env:
global:
- DEPLOY_REPO="git@github.com:RedHatInsights/image-builder-frontend-build"
- NODE_OPTIONS="--max-old-space-size=4096 --max_old_space_size=4096"