Yuki Takei 6 лет назад
Родитель
Сommit
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