ソースを参照

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:
 on:
   push:
   push:
@@ -7,8 +7,8 @@ on:
     branches: [main, develop]
     branches: [main, develop]
 
 
 jobs:
 jobs:
-  lint:
-    name: Lint Code
+  lint-test:
+    name: Lint and test
 
 
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
 
 
@@ -55,3 +55,6 @@ jobs:
 
 
       - name: Lint
       - name: Lint
         run: npm run lint
         run: npm run lint
+
+      - name: Test
+        run: npm test