File tree Expand file tree Collapse file tree 4 files changed +31
-3
lines changed
Expand file tree Collapse file tree 4 files changed +31
-3
lines changed Original file line number Diff line number Diff line change 3838 timeout-minutes : 5
3939 - name : Replace all GitHub links to individual packages with npm links
4040 run : |
41- find . -type f -name '*.md' -print0 | xargs -0 sed -Ei 's/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
41+ find . -type f -name '*.md' -print0 | xargs -0 sed -Ei '/tree\/main/b; s/@stdlib\/([^:]*)\]: https:\/\/github.com\/stdlib-js/@stdlib\/\1\]: https:\/\/www.npmjs.com\/package\/@stdlib/g'
4242 - name : Replace all stdlib GitHub dependencies with the respective npm packages
4343 run : |
4444 find package.json -type f -print0 | xargs -0 sed -Ei 's/"github:stdlib-js[^"]*"/"^0.0.x"/g'
Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -255,6 +255,20 @@ str = JSON.stringify( arr.toJSON() );
255255
256256<!-- /.references -->
257257
258+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
259+
260+ <section class =" related " >
261+
262+ * * *
263+
264+ ## See Also
265+
266+ - <span class =" package-name " >[ ` @stdlib/ndarray/ctor ` ] [ @stdlib/ndarray/ctor ] </span ><span class =" delimiter " >: </span ><span class =" description " >multidimensional array constructor.</span >
267+
268+ </section >
269+
270+ <!-- /.related -->
271+
258272<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
259273
260274
@@ -314,14 +328,18 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
314328
315329[ @stdlib/ndarray/dtypes ] : https://github.com/stdlib-js/ndarray-dtypes
316330
317- [ @stdlib/ndarray/ctor ] : https://github.com/stdlib-js/ndarray-ctor
318-
319331[ @stdlib/array/generic ] : https://github.com/stdlib-js/array-generic
320332
321333[ @stdlib/array/typed ] : https://github.com/stdlib-js/array-typed
322334
323335[ @stdlib/buffer/ctor ] : https://github.com/stdlib-js/buffer-ctor
324336
337+ <!-- <related-links> -->
338+
339+ [ @stdlib/ndarray/ctor ] : https://github.com/stdlib-js/ndarray-ctor
340+
341+ <!-- </related-links> -->
342+
325343</section >
326344
327345<!-- /.links -->
You can’t perform that action at this time.
0 commit comments