forked from miragejs/miragejs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 1.37 KB
/
.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
34
35
36
37
38
39
40
41
42
43
44
---
language: node_js
node_js:
- "14"
sudo: false
dist: trusty
addons:
chrome: stable
cache:
yarn: true
install:
- yarn install --no-lockfile --non-interactive
notifications:
email: false
# Identifies `a.b.c-xxx.n` tags as pre-releases, and `a.b.c` as stable releases
before_deploy: |
function npm_dist_tag() {
if [[ "$TRAVIS_TAG" = *"-"* ]]; then
echo "next"
else
echo "latest"
fi
}
jobs:
include:
- stage: npm release
script: skip
deploy:
skip_cleanup: true
provider: npm
tag: $(npm_dist_tag)
email: [email protected]
api_key:
secure: opUbyx91tWudkYlFmysdGjNLS3hcyUwL9nquwt4Xtel7w1ylenoBeiclwtwfRaVJpOkevFmycdGo7f3XjUwJypAfLx0+qMHc8P99hBn1rHJGNjGm5/oi3zuCwBDGsHALBqzu99l6CKNbMYcGIxrsjshL5EOvMAkLgZjuEJ1+hsyVaasG9qbDNkEz0PfJCPJYpHCAmEnYK6gL4ZZHlvje4CUgg5SjJKKvC7OhW03IyDjvCziHIVDxAB4BBEZmlC3nHSNKhe/LJrB/+HWY/SqVMFm1reF099G3G8zr+wyStVKqW8gO2ZejiDrw73N62iqrPcSkq72Nym1+TSz0yRjaPUu3JuQbzzCnJROrnWuD7ItlxwbPSOWTPMMSxlg/yrU5qVXNjHSTvYSn0VJBz7fy/MxiTSuz5+Ua2xOU7KpEP6RhVo0qHssDKm2wQ6rce4kNKXvKTkJ2dYTIBsojk8tELIupvas4ck8Dpt8yAxy6nJkEU+2skuM0JgqME32J1in2rQ/Ip/aa2RnTYgiiNZtxvqZBoM50sXiHFKZXOQsNL09/OvpYXNIDD10sALXLqfz3hUHqaMNmmEWSM7Xzz6/3duB/BqvGWXdetnf/KhTH+IlQVM5j/JYC/lT3M2aGWIpS0iwfMaSUgzuuNoccmlauaYOXnwNeDT6RTx1oMA0+PW0=
on:
tags: true
repo: miragejs/miragejs