Explorar o código

add report as artifact

Yuki Takei %!s(int64=6) %!d(string=hai) anos
pai
achega
3fe5ae3e1f
Modificáronse 1 ficheiros con 7 adicións e 2 borrados
  1. 7 2
      .github/workflows/ci.yml

+ 7 - 2
.github/workflows/ci.yml

@@ -208,9 +208,9 @@ jobs:
         echo -n "node " && node -v
         echo -n "npm " && npm -v
         yarn list --depth=0
-    - name: yarn build:prod
+    - name: yarn build:prod:analyze
       run: |
-        yarn build:prod
+        yarn build:prod:analyze
     - name: yarn install --production
       run: |
         yarn install --production
@@ -229,6 +229,11 @@ jobs:
       env:
         MONGO_URI: mongodb://localhost:27017/growi
 
+    - uses: actions/upload-artifact@v1
+      with:
+        name: Report
+        path: report
+
     - name: Slack Notification
       uses: homoluctus/slatify@master
       if: failure()