mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
fix: release on circleci (#3775)
Moves semantic releasing from TravisCI to CircleCI
This commit is contained in:
parent
2fd6bd7126
commit
bc93a4eaa9
2 changed files with 18 additions and 46 deletions
|
@ -55,8 +55,25 @@ jobs:
|
|||
command: |
|
||||
bash <(curl -s https://codecov.io/bash)
|
||||
|
||||
release:
|
||||
docker:
|
||||
- image: node:10.15.3@sha256:2939bbf1f233c88ed1bc5fec51d4e6ac59beeb397b6b81371c4c576e4606de19
|
||||
steps:
|
||||
- checkout
|
||||
- run: yarn install
|
||||
- run: yarn build
|
||||
- run: yarn semantic-release
|
||||
- run: curl -X POST -d '{}' $NETLIFY_DEPLOY_WEBHOOK
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_test:
|
||||
test_and_release:
|
||||
jobs:
|
||||
- test_node_10
|
||||
- release:
|
||||
requires:
|
||||
- test_node_10
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
|
|
45
.travis.yml
45
.travis.yml
|
@ -1,45 +0,0 @@
|
|||
notifications:
|
||||
email: false
|
||||
|
||||
language: node_js
|
||||
|
||||
node_js:
|
||||
- 'lts/dubnium'
|
||||
|
||||
sudo: false
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- v16
|
||||
|
||||
if: tag IS blank
|
||||
|
||||
before_install:
|
||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||
- python --version
|
||||
- git --version
|
||||
|
||||
install:
|
||||
- yarn install --frozen-lockfile
|
||||
- pip install --user -r requirements.txt
|
||||
|
||||
cache:
|
||||
yarn: true
|
||||
directories:
|
||||
- '.cache'
|
||||
- '.eslintcache'
|
||||
- 'node_modules'
|
||||
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test-schema
|
||||
- yarn build
|
||||
|
||||
deploy:
|
||||
provider: script
|
||||
script: curl -X POST -d '{}' $NETLIFY_DEPLOY_WEBHOOK && yarn semantic-release
|
||||
skip_cleanup: true
|
||||
on:
|
||||
branch: master
|
Loading…
Reference in a new issue