42 строки
1.6 KiB
YAML
42 строки
1.6 KiB
YAML
language: node_js
|
|
|
|
node_js:
|
|
- 10
|
|
|
|
env:
|
|
global:
|
|
- PATH=$PATH:./node_modules/.bin
|
|
- secure: uW+a9ILOBWyyu0PhcoEjyu1vvfWc1q3rQi7Rj69rLKhg1tia9zEFiLWxY3pTO6TsrgUuH+SD1zzElVppV3kkbwL1FQ4lgACOB+p76y+c2VD+A7StLgNkWnoUSy7YRyMCZRg/7DUsw+oLOvQcUfubZqdLKRLfJca4ebfGD5utc8cfVO7HjqhFN/teFJ/7LDyTNsbpAi0oOzH0UNMyyREoi+o/Qgfqv5ByLPiiJA2bKvxBQs1CeiN4qWPWR21LDrEehLLnZZ7c/5wMh15LlYBPdxGn2pSK+0Yy9V6YrX0YQkqaXLMyOvlp53VfDlWj8LyRV0JZZoVewh9RXxPCbyvKKQ==
|
|
build:
|
|
# http://docs.shippable.com/ci/shippableyml/#ci
|
|
ci:
|
|
- npm install --no-audit --ignore-scripts
|
|
- npm run test
|
|
on_success:
|
|
- npx ci-semantic-release
|
|
|
|
resources:
|
|
- name: kendo-angular-jest-preset-repo
|
|
type: gitRepo
|
|
integration: github-telerik
|
|
versionTemplate:
|
|
sourceName: telerik/kendo-angular-jest-preset
|
|
branch: develop
|
|
- name: shippable-angular-jest-preset-push
|
|
type: integration
|
|
integration: shippable-angular-jest-preset
|
|
jobs:
|
|
- name: kendo-angular-jest-preset-publish_develop_as_latest
|
|
type: runSh
|
|
steps:
|
|
- IN: kendo-angular-jest-preset-repo
|
|
switch: off
|
|
- IN: shippable-angular-jest-preset-push
|
|
switch: off
|
|
- TASK:
|
|
name: kendo-angular-jest-preset-publish_develop
|
|
script:
|
|
- ssh-add $SHIPPABLEANGULARJESTPRESETPUSH_PRIVATE_KEY_PATH
|
|
- cd $KENDOANGULARJESTPRESETREPO_STATE && git remote set-url --push origin git@github.com:telerik/kendo-angular-jest-preset.git && git checkout master && git pull --rebase
|
|
- npm install @telerik/semantic-prerelease@1 --no-save && npx release-master
|