mirror of
https://github.com/woodchen-ink/clash-and-dashboard.git
synced 2025-07-18 14:01:56 +08:00
Add: travis ci config
This commit is contained in:
parent
682e5fe213
commit
37739d7f44
22
.travis.yml
Normal file
22
.travis.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
language: node_js
|
||||||
|
sudo: false
|
||||||
|
node_js:
|
||||||
|
- "stable"
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- "$HOME/.npm"
|
||||||
|
install:
|
||||||
|
- "npm ci"
|
||||||
|
script:
|
||||||
|
- "npm run lint"
|
||||||
|
before_deploy:
|
||||||
|
- "npm run build"
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip-cleanup: true
|
||||||
|
local-dir: dist
|
||||||
|
github-token: $GITHUB_TOKEN
|
||||||
|
on:
|
||||||
|
repo: Dreamacro/clash-dashboard
|
||||||
|
branch: master
|
||||||
|
tags: true
|
Loading…
x
Reference in New Issue
Block a user