浏览代码

chore: add test workflows

richard1015 4 年之前
父节点
当前提交
e434a270fe
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      .github/workflows/test.yml

+ 14 - 0
.github/workflows/test.yml

@@ -0,0 +1,14 @@
+name: github pages
+
+on:
+  push:
+    branches:
+      - next # default branch
+
+jobs:
+  test:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+      - run: yarn install
+      - run: yarn test