Переглянути джерело

chore: add unit test step to linter workflow

Sv443 4 тижнів тому
батько
коміт
971215b00a
1 змінених файлів з 6 додано та 3 видалено
  1. 6 3
      .github/workflows/lint-and-test-code.yml

+ 6 - 3
.github/workflows/lint-code.yml → .github/workflows/lint-and-test-code.yml

@@ -1,4 +1,4 @@
-name: "Lint Code"
+name: "Lint and test code"
 
 on:
   push:
@@ -7,8 +7,8 @@ on:
     branches: [main, develop]
 
 jobs:
-  lint:
-    name: Lint Code
+  lint-test:
+    name: Lint and test
 
     runs-on: ubuntu-latest
 
@@ -55,3 +55,6 @@ jobs:
 
       - name: Lint
         run: npm run lint
+
+      - name: Test
+        run: npm test