John Stearns 1 год назад
Родитель
Сommit
0ac3dd5753
1 измененных файлов с 18 добавлено и 0 удалено
  1. 18 0
      .github/workflows/code-qa.yml

+ 18 - 0
.github/workflows/code-qa.yml

@@ -25,3 +25,21 @@ jobs:
 
       - name: Compile TypeScript
         run: npm run compile
+
+  unit-test:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout code
+        uses: actions/checkout@v4
+
+      - name: Setup Node.js
+        uses: actions/setup-node@v4
+        with:
+          node-version: '18'
+          cache: 'npm'
+
+      - name: Install dependencies
+        run: npm run install:all
+
+      - name: Run unit tests
+        run: npx jest