Procházet zdrojové kódy

lint: run linter using GH Actions

master
Saúl Ibarra Corretgé před 5 roky
rodič
revize
9ec3faa6b3
1 změnil soubory, kde provedl 15 přidání a 0 odebrání
  1. 15
    0
      .github/workflows/ci.yml

+ 15
- 0
.github/workflows/ci.yml Zobrazit soubor

@@ -0,0 +1,15 @@
1
+name: Linter
2
+
3
+on: [pull_request]
4
+
5
+jobs:
6
+  run-linter:
7
+    name: Run Linter
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

Načítá se…
Zrušit
Uložit