File tree Expand file tree Collapse file tree 2 files changed +10
-20
lines changed
Expand file tree Collapse file tree 2 files changed +10
-20
lines changed Original file line number Diff line number Diff line change 77 - react-native-libraries.json
88
99jobs :
10- detect_changes :
11- runs-on : ubuntu-latest
12- outputs :
13- data_changed : ${{ steps.filter.outputs.data_changed }}
14- other_changed : ${{ steps.filter.outputs.other_changed }}
15- steps :
16- - uses : actions/checkout@v6
17- - id : filter
18- name : Detect changed paths
19- uses : dorny/paths-filter@v3
20- with :
21- filters : |
22- data_changed:
23- - 'react-native-libraries.json'
24- other_changed:
25- - '**'
26- - '!react-native-libraries.json'
27-
2810 build :
29- needs : detect_changes
30- if : ${{ needs.detect_changes.outputs.data_changed == 'true' && needs.detect_changes.outputs.other_changed != 'true' }}
3111 runs-on : ubuntu-latest
3212 environment :
3313 name : production
3414 url : https://reactnative.directory
3515 steps :
3616 - uses : actions/checkout@v6
17+ - name : Detect changed paths
18+ uses : dorny/paths-filter@v3
19+ id : filter
20+ with :
21+ predicate-quantifier : ' every'
22+ filters : |
23+ only_data_changed:
24+ - react-native-libraries.json
3725 - name : Use Bun
3826 uses : oven-sh/setup-bun@v2
3927 - name : Deploy
28+ if : ${{ steps.filter.outputs.only_data_changed == 'true' }}
4029 shell : bash
4130 run : bunx vercel --force --token "$VERCEL_TOKEN" --prod --local-config /vercel-quick.json
4231 env :
Original file line number Diff line number Diff line change 66 paths-ignore :
77 - .vscode
88 - ' **.md'
9+ - ' **.yml'
910 - react-native-libraries.json
1011 - react-native-libraries.schema.json
1112 schedule :
You can’t perform that action at this time.
0 commit comments