浏览代码

ci: add GH actions for checking the linter

dev1
Saúl Ibarra Corretgé 5 年前
父节点
当前提交
5f8ce7661d
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16
    0
      .github/workflows/ci.yml

+ 16
- 0
.github/workflows/ci.yml 查看文件

@@ -0,0 +1,16 @@
1
+name: Simple CI
2
+
3
+on: [pull_request]
4
+
5
+jobs:
6
+  run-ci:
7
+    name: Build
8
+    runs-on: ubuntu-latest
9
+    steps:
10
+    - uses: actions/checkout@v2
11
+    - uses: actions/setup-node@v1
12
+      with:
13
+        node-version: '12.x'
14
+    - run: npm install
15
+    - run: npm run lint
16
+    - run: npm run test

正在加载...
取消
保存