只在有package改动的时候触发ci流程

This commit is contained in:
YHH
2025-09-28 12:32:35 +08:00
parent b546c9c712
commit 945f772c30
2 changed files with 20 additions and 0 deletions

View File

@@ -3,8 +3,22 @@ name: CI
on:
push:
branches: [ master, main, develop ]
paths:
- 'packages/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- 'jest.config.*'
- '.github/workflows/ci.yml'
pull_request:
branches: [ master, main, develop ]
paths:
- 'packages/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- 'jest.config.*'
- '.github/workflows/ci.yml'
jobs:
test: