File tree Expand file tree Collapse file tree 4 files changed +34
-1
lines changed Expand file tree Collapse file tree 4 files changed +34
-1
lines changed Original file line number Diff line number Diff line change 38
38
timeout-minutes : 5
39
39
- name : Replace all GitHub links to individual packages with npm links
40
40
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'
42
42
- name : Replace all stdlib GitHub dependencies with the respective npm packages
43
43
run : |
44
44
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 44
44
run : |
45
45
npm install || npm install || npm install
46
46
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
47
52
- name : Run tests
48
53
id : tests
49
54
run : |
Original file line number Diff line number Diff line change 40
40
run : |
41
41
npm install || npm install || npm install
42
42
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
43
48
- name : Calculate test coverage
44
49
run : |
45
50
npm run test-cov || npm run test-cov || npm run test-cov
Original file line number Diff line number Diff line change @@ -119,6 +119,21 @@ for ( i = 0; i < DTYPES.length; i++ ) {
119
119
120
120
<!-- /.references -->
121
121
122
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
123
+
124
+ <section class =" related " >
125
+
126
+ * * *
127
+
128
+ ## See Also
129
+
130
+ - [ ` @stdlib/array/ctors ` ] [ @stdlib/array/ctors ] : array constructors.
131
+ - [ ` @stdlib/array/typed-ctors ` ] [ @stdlib/array/typed-ctors ] : typed array constructors.
132
+
133
+ </section >
134
+
135
+ <!-- /.related -->
136
+
122
137
<!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
123
138
124
139
@@ -176,6 +191,14 @@ Copyright © 2016-2021. The Stdlib [Authors][stdlib-authors].
176
191
177
192
[ stdlib-license ] : https://raw.githubusercontent.com/stdlib-js/array-typed-complex-ctors/main/LICENSE
178
193
194
+ <!-- <related-links> -->
195
+
196
+ [ @stdlib/array/ctors ] : https://github.com/stdlib-js/array-ctors
197
+
198
+ [ @stdlib/array/typed-ctors ] : https://github.com/stdlib-js/array-typed-ctors
199
+
200
+ <!-- </related-links> -->
201
+
179
202
</section >
180
203
181
204
<!-- /.links -->
You can’t perform that action at this time.
0 commit comments