浏览代码

Add production build to GitHub Actions script

n1474335 4 年之前
父节点
当前提交
de4cd2eebc
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      .github/workflows/main.yml

+ 5 - 5
.github/workflows/main.yml

@@ -25,11 +25,11 @@ jobs:
     - name: Unit Tests
     - name: Unit Tests
       run: |
       run: |
         npm test
         npm test
-        sudo npx grunt testnodeconsumer
-    # - name: Production Build
-    #   run: npx grunt prod
-    # - name: UI Tests
-    #   run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
+        npx grunt testnodeconsumer
+    - name: Production Build
+      run: npx grunt prod
+     - name: UI Tests
+       run: xvfb-run --server-args="-screen 0 1200x800x24" npx grunt testui
     # - name: Deploy
     # - name: Deploy
     #   uses: peaceiris/actions-gh-pages@v3
     #   uses: peaceiris/actions-gh-pages@v3
     #   with:
     #   with: