File tree Expand file tree Collapse file tree
.github/actions/diff-js-api-breaking-changes Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,18 +2,20 @@ name: diff-js-api-breaking-changes
22description : Check for breaking changes in the public React Native JS API=
33runs :
44 using : composite
5- env :
6- SCRATCH_DIR : ${{ runner.temp }}/diff-js-api-breaking-changes
75 steps :
86 - name : Fetch snapshot from PR head
97 shell : bash
8+ env :
9+ SCRATCH_DIR : ${{ runner.temp }}/diff-js-api-breaking-changes
1010 run : |
1111 mkdir $SCRATCH_DIR
1212 git fetch --depth=1 origin ${{ github.event.pull_request.head.sha }}
1313 git show ${{ github.event.pull_request.head.sha }}:packages/react-native/ReactNativeApi.d.ts > $SCRATCH_DIR/ReactNativeApi-after.d.ts \
1414 || echo "" > $SCRATCH_DIR/ReactNativeApi.d.ts
1515 - name : Run breaking change detection
1616 shell : bash
17+ env :
18+ SCRATCH_DIR : ${{ runner.temp }}/diff-js-api-breaking-changes
1719 run : |
1820 node ./scripts/diff-api-snapshot \
1921 ${{ github.workspace }}/packages/react-native/ReactNativeApi.d.ts \
You can’t perform that action at this time.
0 commit comments