@o2xp/react-datatable
Version:
@o2xp/react-datatable is a modulable component to render data in a table with some nice features !
36 lines (35 loc) • 637 B
YAML
language: node_js
node_js:
- "stable"
cache:
directories:
- node_modules
install:
- npm i --legacy-peer-deps
- npm install -g codecov
script:
- npm run lint
- npm run build
- npm test
after_success:
- if [ "$TRAVIS_BRANCH" == "master" ]; then
codecov;
fi
before_deploy:
- npm run build-storybook
- if [ "$TRAVIS_BRANCH" == "master" ]; then
npm run build;
fi
deploy:
provider: pages
skip_cleanup: true
github_token: $GH_TOKEN
local_dir: storybook-static/
on:
branch: master
deploy:
provider: npm
email: mailmorgandubois@gmail.com
api_key: $NPM_TOKEN
on:
branch: master