chore(CI): should run jobs when yarn.lock is changed

This commit is contained in:
Zeke Zhang 2024-05-14 09:23:33 +08:00
parent cbcf476304
commit 325a415a99
3 changed files with 6 additions and 0 deletions

View File

@ -12,12 +12,14 @@ on:
paths: paths:
- '.github/workflows/e2e.yml' - '.github/workflows/e2e.yml'
- 'packages/**' - 'packages/**'
- '**/yarn.lock'
pull_request: pull_request:
branches: branches:
- '**' - '**'
paths: paths:
- '.github/workflows/e2e.yml' - '.github/workflows/e2e.yml'
- 'packages/**' - 'packages/**'
- '**/yarn.lock'
jobs: jobs:
build: build:

View File

@ -10,6 +10,7 @@ on:
- main - main
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock'
- 'packages/core/acl/**' - 'packages/core/acl/**'
- 'packages/core/actions/**' - 'packages/core/actions/**'
- 'packages/core/database/**' - 'packages/core/database/**'
@ -22,6 +23,7 @@ on:
pull_request: pull_request:
paths: paths:
- 'package.json' - 'package.json'
- '**/yarn.lock'
- 'packages/core/acl/**' - 'packages/core/acl/**'
- 'packages/core/actions/**' - 'packages/core/actions/**'
- 'packages/core/database/**' - 'packages/core/database/**'

View File

@ -11,6 +11,7 @@ on:
- develop - develop
paths: paths:
- 'packages/**' - 'packages/**'
- '**/yarn.lock'
- '.github/workflows/nocobase-test-frontend.yml' - '.github/workflows/nocobase-test-frontend.yml'
- '!packages/core/acl/**' - '!packages/core/acl/**'
- '!packages/core/actions/**' - '!packages/core/actions/**'
@ -21,6 +22,7 @@ on:
paths: paths:
- '.github/workflows/nocobase-test-frontend.yml' - '.github/workflows/nocobase-test-frontend.yml'
- 'packages/**' - 'packages/**'
- '**/yarn.lock'
- '!packages/core/acl/**' - '!packages/core/acl/**'
- '!packages/core/actions/**' - '!packages/core/actions/**'
- '!packages/core/database/**' - '!packages/core/database/**'