Skip to content

Commit bbde3ab

Browse files
Merge pull request #11394 from gitbutlerapp/fix-ci-for-ts-definition-generation
Fix CI TS Definition Generation
2 parents 1d4982e + 506bf49 commit bbde3ab

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/push.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
- run: ./scripts/generate-ts-definitions-from-rust.sh
8383

8484
lint-node:
85+
needs: changes
8586
if: ${{ needs.changes.outputs.node == 'true' || needs.changes.outputs.rust == 'true' }}
8687
runs-on: ubuntu-latest
8788
steps:
@@ -92,6 +93,7 @@ jobs:
9293
- run: pnpm lint
9394

9495
check-node:
96+
needs: changes
9597
if: ${{ needs.changes.outputs.node == 'true' || needs.changes.outputs.rust == 'true' }}
9698
runs-on: ubuntu-latest
9799
steps:
@@ -102,6 +104,7 @@ jobs:
102104
- run: pnpm check
103105

104106
unittest-node:
107+
needs: changes
105108
if: ${{ needs.changes.outputs.node == 'true' }}
106109
runs-on: ubuntu-latest
107110
steps:

turbo.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@
2222
"cache": false,
2323
"persistent": true
2424
},
25-
"check": {},
25+
"check": {
26+
"dependsOn": ["package"]
27+
},
2628
"playwright:install": {},
2729
"test": {
2830
"dependsOn": ["package", "playwright:install"]

0 commit comments

Comments
 (0)