-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (37 loc) · 829 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
34
35
36
37
38
39
language: node_js
os: linux
node_js:
- 12
cache: yarn
install:
- yarn install
jobs:
include:
- stage: Build and test
script:
- yarn test
- yarn build
# - stage: npm release
# script: yarn build
# deploy:
# provider: npm
# email: $NPM_EMAIL
# api_key: $NPM_TOKEN
# skip_cleanup: true
# on:
# branch: main
# # tags: true
# - stage: deploy gh-pages
# script: yarn run predeploy
# deploy:
# provider: pages
# skip_cleanup: true
# github_token: $GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
# keep_history: true
# local_dir: ./example/build/
# on:
# branch: main
branches:
only:
- main
# - /^v[0-9]+.*$/