added explorer .travis.yml for PR related issues

This commit is contained in:
axleiro 2021-12-17 20:32:05 +05:30 committed by GitHub
parent 89d66c3210
commit c04737ae69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

View File

@ -78,6 +78,24 @@ jobs:
# - sudo apt-get install libssl-dev libudev-dev
# docs pull request
- name: "explorer"
if: type = pull_request AND branch = master
language: node_js
node_js:
- "lts/*"
cache:
directories:
- ~/.npm
before_install:
- .travis/affects.sh explorer/ .travis || travis_terminate 0
- cd explorer
script:
- npm run build
- npm run format
- name: "docs"
if: type IN (push, pull_request) OR tag IS present
language: node_js