Merge pull request #50 from ParadeTo/feature/github-actions

Create test.yml
This commit is contained in:
ayou
2019-12-29 22:45:39 +08:00
committed by GitHub

15
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Test
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: npm install, lint and test
run: |
npm install
npm run lint
npm run test:unit