Просмотр исходного кода

ci(acceptance): Cache node_modules (#43524)

Matt Gaunt-Seo @ Sentry.io 2 лет назад
Родитель
Сommit
5f613e3770
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      .github/workflows/acceptance.yml

+ 6 - 0
.github/workflows/acceptance.yml

@@ -153,6 +153,12 @@ jobs:
           path: ${{ steps.config.outputs.webpack-path }}
           key: ${{ runner.os }}-v2-webpack-cache-${{ hashFiles('webpack.config.ts') }}
 
+      - name: node_modules cache
+        uses: actions/cache@9b0c1fce7a93df8e3bb8926b0d6e9d89e92f20a7  # v3.0.11
+        with:
+          path: node_modules
+          key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock', 'api-docs/yarn.lock') }}
+
       - name: Install Javascript Dependencies
         run: |
           yarn install --frozen-lockfile