Skip to content

Commit b2ccb9a

Browse files
committed
chore(ci): adjust ci config
1 parent 17c0f80 commit b2ccb9a

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

.travis.yml

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
language: node_js
2-
version: 1.0
3-
node_js:
4-
- '12'
5-
sudo: required
6-
dist: trusty
7-
addons:
8-
chrome: stable
9-
cache:
10-
directories:
11-
- $HOME/.npm
12-
before_install:
13-
- export CHROME_BIN=chromium-browser
14-
- export DISPLAY=:99.0
15-
- sh -e /etc/init.d/xvfb start
16-
install:
17-
- npm install codecov -g
18-
- npm ci --ignore-scripts
19-
script:
20-
# run build script specified in package.json
21-
- npm run ci
22-
after_success:
23-
- codecov
24-
before_deploy:
25-
- cd dist/elements
26-
after_deploy:
27-
- cd ../../
28-
deploy:
29-
- provider: npm
30-
edge: true
31-
32-
api_key: $NPM_TOKEN
33-
skip_cleanup: true
34-
on:
35-
tags: true
36-
- provider: pages
37-
name: tomastrajan
38-
39-
local_dir: dist/elements-demo
40-
skip_cleanup: true
41-
github_token: $GH_TOKEN
1+
language: node_js
2+
version: 1.0
3+
node_js:
4+
- '16'
5+
sudo: required
6+
dist: trusty
7+
addons:
8+
chrome: stable
9+
cache:
10+
directories:
11+
- $HOME/.npm
12+
before_install:
13+
- export CHROME_BIN=chromium-browser
14+
- export DISPLAY=:99.0
15+
- sh -e /etc/init.d/xvfb start
16+
install:
17+
- npm install codecov -g
18+
- npm ci --ignore-scripts
19+
script:
20+
# run build script specified in package.json
21+
- npm run ci
22+
after_success:
23+
- codecov
24+
before_deploy:
25+
- cd dist/elements
26+
after_deploy:
27+
- cd ../../
28+
deploy:
29+
- provider: npm
30+
edge: true
31+
32+
api_key: $NPM_TOKEN
33+
skip_cleanup: true
34+
on:
35+
tags: true
36+
- provider: pages
37+
name: tomastrajan
38+
39+
local_dir: dist/elements-demo
40+
skip_cleanup: true
41+
github_token: $GH_TOKEN

0 commit comments

Comments
 (0)