Roland Hummel
6fe322bd8a
Add npm ci to directory-updating job, as well (so that we can utilize globby)
2021-10-05 11:23:47 +02:00
Roland Hummel
a69d9a8c49
Clean up and speed up UpdateDirectory.js
...
Uses globby to find all algorithm files. This is way quicker and less error-prone than the previous implementation. Plus, it allows us to fine-tune excludes (e.g. test files and the babel config).
This also removes the need for setTimeouts which greatly speeds up the whole thing.
2021-10-05 11:23:46 +02:00
Roland Hummel
460fd57c6b
Test: Drop env.CI
2021-10-05 11:23:46 +02:00
Roland Hummel
f6396f4822
Don't cat the full DIRECTORY.md file in the github job
2021-10-05 11:23:46 +02:00
Roland Hummel
21d4096446
Another proposal: Clean up "update directory" job, as well
...
relates to ##720
Cleaned up and updated the job description file a bit. Instead of attempting to commit every single time, we check if the DIRECTORY file actually has changes first.
2021-10-05 11:23:46 +02:00
Roland Hummel
6f9b1f127f
Proposal: Clean up CI job a bit
...
relates to #586 and #720
Added npm scripts for doctest and style checking via standard. This allows us to call those directly via npm and not via npx.
The CI job itself is now split into distinct steps (makes it more visible which step failed).
2021-10-05 11:23:45 +02:00
Rak Laptudirm
cf98deda8e
fix: Fixed TODO message
...
Need to add Doctests to all Algos
2021-05-22 21:20:36 +05:30
Rak Laptudirm
a93abac98d
Fixes #539
2021-05-22 21:13:00 +05:30
Christian Clauss
84a4f6bd7a
Update nodejs.yml
2021-04-14 23:02:49 +02:00
Christian Clauss
e22405f23b
Update nodejs.yml
2021-04-14 22:59:04 +02:00
Christian Clauss
7e0169b260
Cleanup Node.js CI
2021-04-14 22:55:49 +02:00
Christian Clauss
6686ef88b8
Update nodejs.yml
2020-10-31 09:35:01 +01:00
Christian Clauss
c95012865f
Update nodejs.yml
2020-10-31 09:27:46 +01:00
Christian Clauss
1f1007a09c
Update nodejs.yml
2020-10-31 09:20:12 +01:00
Christian Clauss
9bd5bf8232
npx doctest **/*.js
2020-10-31 09:17:29 +01:00
Christian Clauss
8d527fe1e2
Update nodejs.yml
2020-10-31 09:15:46 +01:00
Christian Clauss
9d21e03790
Update nodejs.yml
2020-10-31 09:10:49 +01:00
Christian Clauss
9bae390f01
Update nodejs.yml
2020-10-31 09:07:09 +01:00
Christian Clauss
3fec0509dd
Update nodejs.yml
2020-10-31 08:45:55 +01:00
Christian Clauss
4c8866ec7e
npx mocha
2020-10-31 08:36:27 +01:00
Christian Clauss
255ef0dffa
npx mocha Maths/test/Abs.test.js
2020-10-31 08:29:28 +01:00
Christian Clauss
ea2056f649
GitHub Action: Add mocha Maths/test/Abs.test.js
2020-10-31 08:22:23 +01:00
vinayak
9000e1caaa
Re-orgainze files and folders in the repository ( #172 )
...
* Re-orgainze files and folders in the repository
* updating DIRECTORY.md
Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com >
2020-05-18 11:10:07 +05:30
Christian Clauss
4913d5fe14
npx doctest Sorts/BogoSort.js Sorts/BucketSort.js
2020-05-13 01:31:00 +02:00
Christian Clauss
215005325c
Update nodejs.yml
2020-05-13 01:28:46 +02:00
Christian Clauss
b8350d9122
npx doctest Sorts/BogoSort.js
2020-05-13 00:42:05 +02:00
Christian Clauss
9328ac686e
node_modules/doctest Sorts/BogoSort.js || true
2020-05-13 00:38:04 +02:00
Christian Clauss
424d1d8135
npx doctest Sorts/BogoSort.js || true
2020-05-13 00:32:34 +02:00
Christian Clauss
17107f5cb7
Update nodejs.yml
2020-05-13 00:28:48 +02:00
Christian Clauss
90ec2ac522
Update nodejs.yml
2020-05-13 00:19:13 +02:00
Christian Clauss
7d79a4196b
doctest --module Sorts Sorts/BogoSort.js
2020-05-13 00:10:46 +02:00
Christian Clauss
741e8fbb4b
node -e "doctest('Sorts/BogoSort.js', {})"
2020-05-12 23:58:56 +02:00
Christian Clauss
32d5dd477c
run: node .github/workflows/UpdateDirectory.js
2020-05-12 11:30:51 +02:00
Christian Clauss
0893767dd5
run: node UpdateDirectory.js
2020-05-10 17:58:12 +02:00
Christian Clauss
3730807807
Merge pull request #163 from sahilbansal17/js-directory-workflow
...
Fixes : #160
2020-05-10 17:51:09 +02:00
Christian Clauss
3b03e3b415
Rename script.js to UpdateDirectory.js
2020-05-10 17:50:29 +02:00
Christian Clauss
c276a695ad
GitHub Action nodejs.yml upgrade to Node.js 14 ( #165 )
2020-05-10 17:00:21 +05:30
Sahil Bansal
b971510cc3
Add build_directory_md
2020-05-10 11:35:25 +05:30
Sahil Bansal
337f3c2abc
Add md_prefix and print_path functions
2020-05-09 19:22:01 +05:30
Sahil Bansal
f6dd3826ad
Add good_filepaths function in workflow script
2020-05-09 18:30:49 +05:30
vinayak
1e540e9dec
Update nodejs.yml
2020-05-06 18:37:36 +05:30
Christian Clauss
62f96e8c39
Trailing space ;-)
2020-05-05 22:25:32 +02:00
vinayak
1b26a1b097
Update nodejs.yml
2020-05-06 01:52:30 +05:30
Christian Clauss
ec89a904a2
Update nodejs.yml
2020-05-04 21:46:48 +02:00
Christian Clauss
c8388cf884
Update nodejs.yml
2020-05-04 07:06:27 +02:00
Christian Clauss
a202d1d06d
npx standard || true
2020-05-03 16:44:17 +02:00
Christian Clauss
5281956fbf
Add standard to our testing
...
Run in allow failures mode until the non-compliant files are fixed.
2020-05-03 16:41:15 +02:00
Christian Clauss
31cb7fe222
update_directory_md.yml: Remove GH Actions workaround
2020-01-27 22:48:41 +01:00
Christian Clauss
04ea1457f5
Create update_directory_md.yml
2020-01-09 21:42:17 +01:00
Christian Clauss
39fb138ae8
cd linear-algebra-javascript
2020-01-09 21:27:10 +01:00