diff --git a/.github/workflows/fork-api-release.yaml b/.github/workflows/fork-api-release.yaml index 5abda360..eba63eb0 100644 --- a/.github/workflows/fork-api-release.yaml +++ b/.github/workflows/fork-api-release.yaml @@ -3,7 +3,7 @@ name: Deploy Fork API on: push: branches: main - paths: 'fork-api/**' + paths: ['fork-api/**', '**/fork-api-release.yaml'] defaults: run: @@ -21,7 +21,7 @@ jobs: node-version: latest cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install + - run: pnpm install --prefer-offline - name: Publish uses: cloudflare/wrangler-action@2.0.0 with: diff --git a/.github/workflows/vnet-api-release.yaml b/.github/workflows/vnet-api-release.yaml index 7d1e1f51..8fc569da 100644 --- a/.github/workflows/vnet-api-release.yaml +++ b/.github/workflows/vnet-api-release.yaml @@ -3,7 +3,7 @@ name: Deploy Vnet API on: push: branches: main - paths: 'vnet-api/**' + paths: ['vnet-api/**', '**/vnet-api-release.yaml'] defaults: run: @@ -21,7 +21,7 @@ jobs: node-version: latest cache: 'pnpm' cache-dependency-path: '**/pnpm-lock.yaml' - - run: pnpm install + - run: pnpm install --prefer-offline - name: Publish uses: cloudflare/wrangler-action@2.0.0 with: