Skip to content

Commit f07203e

Browse files
committed
Auto-generated commit
1 parent f6cd658 commit f07203e

File tree

3 files changed

+33
-0
lines changed

3 files changed

+33
-0
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
run: |
4545
npm install || npm install || npm install
4646
timeout-minutes: 15
47+
- name: Build native add-on (if present)
48+
run: |
49+
if [ -f "binding.gyp" ]; then
50+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
51+
fi
4752
- name: Run tests
4853
id: tests
4954
run: |

.github/workflows/test_coverage.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
run: |
4141
npm install || npm install || npm install
4242
timeout-minutes: 15
43+
- name: Build native add-on (if present)
44+
run: |
45+
if [ -f "binding.gyp" ]; then
46+
npm install node-gyp --no-save && ./node_modules/.bin/node-gyp rebuild
47+
fi
4348
- name: Calculate test coverage
4449
run: |
4550
npm run test-cov || npm run test-cov || npm run test-cov

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,21 @@ next();
160160

161161
<!-- /.references -->
162162

163+
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
164+
165+
<section class="related">
166+
167+
* * *
168+
169+
## See Also
170+
171+
- [`@stdlib/utils/async/if-then`][@stdlib/utils/async/if-then]: if a predicate function returns a truthy value, invoke `x`; otherwise, invoke `y`.
172+
- [`@stdlib/utils/if-else`][@stdlib/utils/if-else]: if a condition is truthy, return `x`; otherwise, return `y`.
173+
174+
</section>
175+
176+
<!-- /.related -->
177+
163178
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
164179

165180

@@ -217,6 +232,14 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
217232

218233
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/utils-async-if-else/main/LICENSE
219234

235+
<!-- <related-links> -->
236+
237+
[@stdlib/utils/async/if-then]: https://github.com/stdlib-js/utils-async-if-then
238+
239+
[@stdlib/utils/if-else]: https://github.com/stdlib-js/utils-if-else
240+
241+
<!-- </related-links> -->
242+
220243
</section>
221244

222245
<!-- /.links -->

0 commit comments

Comments
 (0)