Skip to content

Commit 93d3f5a

Browse files
committed
ci: add package.json to push trigger paths
1 parent 417277a commit 93d3f5a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99
- "src/**"
1010
- "scripts/**"
1111
- "tests/**"
12+
- "package.json"
1213
- "bun.lock"
1314
- "tsconfig.json"
1415
- "tsconfig.build.json"

tests/scripts/ci-workflow.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ describe('CI workflow trigger filters', () => {
7373
const pushPaths = extractPaths(readWorkflow(), 'push');
7474

7575
expect(pushPaths).not.toContain('assets/**');
76-
expect(pushPaths).not.toContain('package.json');
76+
expect(pushPaths).toContain('package.json');
7777
});
7878

7979
test('pull requests still validate workflow and package changes', () => {

0 commit comments

Comments
 (0)