mirror of
https://github.com/scratchfoundation/scratch-analysis.git
synced 2024-11-24 16:48:13 -05:00
7e5150c0ca
Install and configure commitlint Configure semantic release to deploy in an additional stage, if on the develop branch
23 lines
No EOL
336 B
YAML
23 lines
No EOL
336 B
YAML
language: node_js
|
|
node_js:
|
|
- 8
|
|
- 10
|
|
- node
|
|
cache:
|
|
directories:
|
|
- node_modules
|
|
script:
|
|
- commitlint-travis
|
|
- npm test
|
|
jobs:
|
|
include:
|
|
- stage: release
|
|
node_js: 10
|
|
script: echo deploying...
|
|
deploy:
|
|
- provider: script
|
|
script: npx semantic-release
|
|
stages:
|
|
- test
|
|
- name: release
|
|
if: branch = develop |