Yuki Takei 5 лет назад
Родитель
Сommit
b016353b43
2 измененных файлов с 12 добавлено и 5 удалено
  1. 5 3
      .github/workflows/ci-bot-proxy.yml
  2. 7 2
      .github/workflows/ci.yml

+ 5 - 3
.github/workflows/ci-bot-proxy.yml

@@ -8,6 +8,8 @@ on:
     paths:
       - .github/workflows/ci-bot-proxy.yml
       - packages/growi-bot-proxy/*
+      - package.json
+      - yarn.lock
 
 defaults:
   run:
@@ -49,7 +51,7 @@ jobs:
     - name: Install dependencies
       if: steps.cache-dependencies.outputs.cache-hit != 'true'
       run: |
-        yarn
+        yarn --frozen-lockfile
     - name: Print dependencies
       run: |
         echo -n "node " && node -v
@@ -104,7 +106,7 @@ jobs:
     - name: Install dependencies
       if: steps.cache-dependencies.outputs.cache-hit != 'true'
       run: |
-        yarn
+        yarn --frozen-lockfile
     - name: Print dependencies
       run: |
         echo -n "node " && node -v
@@ -166,7 +168,7 @@ jobs:
           ${{ runner.os }}-yarn-
     - name: Install dependencies
       run: |
-        yarn
+        yarn --frozen-lockfile
     - name: Print dependencies
       run: |
         echo -n "node " && node -v

+ 7 - 2
.github/workflows/ci.yml

@@ -5,8 +5,13 @@ on:
     branches-ignore:
       - release/**
       - tmp/**
-    paths-ignore:
-      - packages/growi-bot-proxy/*
+    paths:
+      - .github/workflows/ci.yml
+      - config
+      - resource
+      - src
+      - package.json
+      - yarn.lock
 
 jobs: