add dashboard ci (#256)

* Update 更新配置

* Add dashboard ci

* Fix ci

* Fix ci
This commit is contained in:
hanxie
2020-09-10 16:57:08 +08:00
committed by GitHub
parent 4aad15bb64
commit 7accf86367
4 changed files with 30 additions and 2 deletions
+25
View File
@@ -0,0 +1,25 @@
name: Dashboard
on:
push:
branches: [ master ]
pull_request:
defaults:
run:
working-directory: ./dashboard
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build --if-present