forked from dnldsht/vue-insta-stories
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (24 loc) · 661 Bytes
/
.travis.yml
File metadata and controls
28 lines (24 loc) · 661 Bytes
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
language: node_js
node_js: stable
before_install: # if "install" is overridden
# Repo for Yarn
- sudo apt-key adv --fetch-keys http://dl.yarnpkg.com/debian/pubkey.gpg
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
cache:
yarn: true
directories:
- node_modules
before_deploy:
- "yarn workspace vue-insta-stories run build"
- "yarn workspace example run build"
# Skip tests
script: 'true'
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
local_dir: packages/example/dist
on:
branch: main