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

update cache settings for workflows

Yuki Takei 3 лет назад
Родитель
Сommit
0e455f0881

+ 3 - 6
.github/workflows/ci-app.yml

@@ -54,12 +54,11 @@ jobs:
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
 
-      - name: Cache/Restore dist and types
+      - name: Cache/Restore dist
         uses: actions/cache@v3
         with:
           path: |
             **/dist
-            **/types
           key: dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
           restore-keys: |
             dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-
@@ -116,12 +115,11 @@ jobs:
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
 
-      - name: Cache/Restore dist and types
+      - name: Cache/Restore dist and
         uses: actions/cache@v3
         with:
           path: |
             **/dist
-            **/types
           key: dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
           restore-keys: |
             dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-
@@ -188,12 +186,11 @@ jobs:
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
             node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
 
-      - name: Cache/Restore dist and types
+      - name: Cache/Restore dist and
         uses: actions/cache@v3
         with:
           path: |
             **/dist
-            **/types
           key: dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
           restore-keys: |
             dist-ci-app-${{ runner.OS }}-node${{ matrix.node-version }}-

+ 2 - 4
.github/workflows/ci-slackbot-proxy.yml

@@ -59,12 +59,11 @@ jobs:
           node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}-
           node_modules-${{ runner.OS }}-node${{ matrix.node-version }}-
 
-    - name: Cache/Restore dist and types
+    - name: Cache/Restore dist and
       uses: actions/cache@v3
       with:
         path: |
           **/dist
-          **/types
         key: dist-ci-slackbot-proxy-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
         restore-keys: |
           dist-ci-slackbot-proxy-${{ runner.OS }}-node${{ matrix.node-version }}-
@@ -149,12 +148,11 @@ jobs:
       run: |
         yarn --frozen-lockfile
 
-    - name: Cache/Restore dist and types
+    - name: Cache/Restore dist and
       uses: actions/cache@v3
       with:
         path: |
           **/dist
-          **/types
         key: dist-slackbot-proxy-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
         restore-keys: |
           dist-slackbot-proxy-prod-${{ runner.OS }}-node${{ matrix.node-version }}-

+ 1 - 2
.github/workflows/reusable-app-prod.yml

@@ -58,12 +58,11 @@ jobs:
       run: |
         yarn --frozen-lockfile
 
-    - name: Cache/Restore dist and types
+    - name: Cache/Restore dist and
       uses: actions/cache@v3
       with:
         path: |
           **/dist
-          **/types
         key: dist-app-prod-${{ runner.OS }}-node${{ matrix.node-version }}-${{ hashFiles('node_modules/.cache/turbo/*-meta.json') }}
         restore-keys: |
           dist-app-prod-${{ runner.OS }}-node${{ matrix.node-version }}-