Skip to content

Commit

Permalink
chore(ci): adjust ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
tomastrajan committed Jul 22, 2022
1 parent 17c0f80 commit b2ccb9a
Showing 1 changed file with 41 additions and 41 deletions.
82 changes: 41 additions & 41 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
language: node_js
version: 1.0
node_js:
- '12'
sudo: required
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install codecov -g
- npm ci --ignore-scripts
script:
# run build script specified in package.json
- npm run ci
after_success:
- codecov
before_deploy:
- cd dist/elements
after_deploy:
- cd ../../
deploy:
- provider: npm
edge: true
email: tomas.trajan@gmail.com
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
- provider: pages
name: tomastrajan
email: tomas.trajan@gmail.com
local_dir: dist/elements-demo
skip_cleanup: true
github_token: $GH_TOKEN
language: node_js
version: 1.0
node_js:
- '16'
sudo: required
dist: trusty
addons:
chrome: stable
cache:
directories:
- $HOME/.npm
before_install:
- export CHROME_BIN=chromium-browser
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- npm install codecov -g
- npm ci --ignore-scripts
script:
# run build script specified in package.json
- npm run ci
after_success:
- codecov
before_deploy:
- cd dist/elements
after_deploy:
- cd ../../
deploy:
- provider: npm
edge: true
email: tomas.trajan@gmail.com
api_key: $NPM_TOKEN
skip_cleanup: true
on:
tags: true
- provider: pages
name: tomastrajan
email: tomas.trajan@gmail.com
local_dir: dist/elements-demo
skip_cleanup: true
github_token: $GH_TOKEN

0 comments on commit b2ccb9a

Please sign in to comment.