Browse Source

Add production build to GitHub Actions script

n1474335 4 years ago
parent
commit
de4cd2eebc
1 changed files with 5 additions and 5 deletions
  1. 5 5
      .github/workflows/main.yml

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

@@ -25,11 +25,11 @@ jobs:
     - name: Unit Tests
       run: |
         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
     #   uses: peaceiris/actions-gh-pages@v3
     #   with: