From fa2b7cb9dd62384f2d1b83d76c578caad766c1a9 Mon Sep 17 00:00:00 2001 From: Binbin Sun Date: Sun, 29 Dec 2019 22:31:23 +0800 Subject: [PATCH] Create test.yml --- .github/workflows/test.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..db65b91 --- /dev/null +++ b/.github/workflows/test.yml @@ -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