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:
- '.github/workflows/e2e.yml'
- 'packages/**'
- '**/yarn.lock'
pull_request:
branches:
- '**'
paths:
- '.github/workflows/e2e.yml'
- 'packages/**'
- '**/yarn.lock'
jobs:
build:

View File

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

View File

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