瀏覽代碼

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

Loading…
取消
儲存