Skip to content

Commit b9fa920

Browse files
committed
runner
1 parent 8d57818 commit b9fa920

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

  • .github/actions/diff-js-api-breaking-changes

.github/actions/diff-js-api-breaking-changes/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ name: diff-js-api-breaking-changes
22
description: Check for breaking changes in the public React Native JS API=
33
runs:
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 \

0 commit comments

Comments
 (0)