1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| language: node_js cache: directories: - ~/.npm notifications: email: true node_js: - 'node' - 'lts/*' install: npm install before_install: - npm install -g npm@5 - npm install -g greenkeeper-lockfile@1 jobs: include: - stage: test script: - npm run build - npm run build:prod - npm run lint:fix - npm run test - npm run report-coverage before_script: greenkeeper-lockfile-update after_script: greenkeeper-lockfile-upload - stage: deploy node_js: 'node' if: branch = master script: - npm run deploy
|