forked from kirill-konshin/next-redux-wrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (27 loc) · 778 Bytes
/
.travis.yml
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
30
31
32
33
language: node_js
cache:
yarn: true
directories:
- node_modules
- packages/*/node_modules
node_js: 13.9
before_install: npm config set //registry.npmjs.org/:_authToken=${NPM_TOKEN}
before_script:
- DEBUG=eslint:cli-engine yarn lint:all
- yarn build
deploy:
- provider: script
script: yarn publish:release ${TRAVIS_TAG} --yes
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_TAG != "" && $TRAVIS_TAG != *"-"*
repo: kirill-konshin/next-redux-wrapper
- provider: script
script: yarn publish:release ${TRAVIS_TAG} --yes --dist-tag next
skip_cleanup: true
on:
all_branches: true
condition: $TRAVIS_TAG == *"-"*
repo: kirill-konshin/next-redux-wrapper
after_success: yarn test:coverage