Create test.yml

This commit is contained in:
Binbin Sun
2019-12-29 22:31:23 +08:00
committed by GitHub
parent 7b70e8dbf2
commit fa2b7cb9dd

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

@@ -0,0 +1,15 @@
name: CI
on: [pull_request, push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: npm install, lint and test
run: |
npm install
npm run lint
npm run test:unit