We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1350b7 commit 29b887dCopy full SHA for 29b887d
.travis.yml
@@ -1,19 +1,33 @@
1
language: node_js
2
node_js:
3
- - 8
+ - lts/*
4
+install:
5
+ - yarn install
6
cache:
7
directories:
8
- node_modules
9
script:
- - npm run lint
10
+ - yarn lint
11
12
after_success:
- - npm run codecov
13
+ - yarn codecov
14
+
15
+before_deploy: |
16
+ function npm_dist_tag() {
17
+ if [[ "$TRAVIS_TAG" = *"-"* ]]; then
18
+ echo "next"
19
+ else
20
+ echo "latest"
21
+ fi
22
+ }
23
24
deploy:
25
+ edge: true
26
provider: npm
27
email: [email protected]
28
api_key: $NPM_AUTH_TOKEN
29
skip_cleanup: true
30
on:
31
tags: true
32
+ tag: $(npm_dist_tag)
33
0 commit comments