File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed
packages/create-react-native-library/templates/common/$.github/actions/setup Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 19
19
restore-keys : |
20
20
${{ runner.os }}-yarn-
21
21
22
+ - name : Check for changes
23
+ uses : dorny/paths-filter@v2
24
+ id : changes
25
+ with :
26
+ filters : |
27
+ package-json:
28
+ - '**/package.json'
29
+
22
30
- name : Install dependencies
23
- if : steps.yarn-cache.outputs.cache-hit != 'true'
31
+ if : steps.yarn-cache.outputs.cache-hit != 'true' || steps.changes.outputs.package-json == 'true'
24
32
run : yarn install --frozen-lockfile
25
33
shell : bash
Original file line number Diff line number Diff line change 19
19
restore-keys : |
20
20
${{ runner.os }}-yarn-
21
21
22
+ - name : Check for changes
23
+ uses : dorny/paths-filter@v2
24
+ id : changes
25
+ with :
26
+ filters : |
27
+ package-json:
28
+ - '**/package.json'
29
+
22
30
- name : Install dependencies
23
- if : steps.yarn-cache.outputs.cache-hit != 'true'
31
+ if : steps.yarn-cache.outputs.cache-hit != 'true' || steps.changes.outputs.package-json == 'true'
24
32
run : |
25
33
yarn install --cwd example --frozen-lockfile
26
34
yarn install --frozen-lockfile
You can’t perform that action at this time.
0 commit comments