Yuki Takei 6 роки тому
батько
коміт
d9ac7e6576
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      .github/workflows/test.yml

+ 3 - 0
.github/workflows/test.yml

@@ -21,14 +21,17 @@ jobs:
       with:
         node-version: ${{ matrix.node-version }}
     - name: Cache/Restore node_modules
+      id: cache
       uses: actions/cache@v1
       with:
         path: node_modules
         key: ${{ runner.OS }}-node_modules-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
     - name: install dependencies
+      if: steps.cache.outputs.cache-hit != 'true'
       run: |
         yarn
     - name: install plugins
+      if: steps.cache.outputs.cache-hit != 'true'
       run: |
         yarn add growi-plugin-lsx growi-plugin-pukiwiki-like-linker growi-plugin-attachment-refs
         yarn add -D react-images react-motion