Yuki Takei před 6 roky
rodič
revize
02be388f44
1 změnil soubory, kde provedl 5 přidání a 1 odebrání
  1. 5 1
      .github/workflows/ci.yml

+ 5 - 1
.github/workflows/ci.yml

@@ -170,14 +170,18 @@ jobs:
         path: node_modules
         path: node_modules
         key: ${{ runner.OS }}-node_modules-prod-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
         key: ${{ runner.OS }}-node_modules-prod-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
     - name: Install dependencies
     - name: Install dependencies
-      if: steps.cache.outputs.cache-hit != 'true'
       run: |
       run: |
         yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs
         yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs
+      env:
+        NODE_ENV: production
     - name: Print dependencies
     - name: Print dependencies
       run: |
       run: |
         echo -n "node " && node -v
         echo -n "node " && node -v
         echo -n "npm " && npm -v
         echo -n "npm " && npm -v
         yarn list --depth=0
         yarn list --depth=0
+    - name: Create dummy manifest file
+      run: |
+        echo "{}" > public/manifest.json
     - name: Launch MongoDB
     - name: Launch MongoDB
       uses: wbari/start-mongoDB@v0.2
       uses: wbari/start-mongoDB@v0.2
       with:
       with: