mirror of
https://github.com/TheAlgorithms/JavaScript.git
synced 2025-07-05 16:26:47 +08:00
GitHub Action: Add mocha Maths/test/Abs.test.js
This commit is contained in:
3
.github/workflows/nodejs.yml
vendored
3
.github/workflows/nodejs.yml
vendored
@ -14,12 +14,13 @@ jobs:
|
|||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install doctest standard --save-dev
|
npm install doctest mocha standard --save-dev
|
||||||
npx doctest Sorts/BogoSort.js Sorts/BucketSort.js
|
npx doctest Sorts/BogoSort.js Sorts/BucketSort.js
|
||||||
npx standard
|
npx standard
|
||||||
cd Linear-Algebra
|
cd Linear-Algebra
|
||||||
npm ci
|
npm ci
|
||||||
npm run build --if-present
|
npm run build --if-present
|
||||||
npm test
|
npm test
|
||||||
|
mocha Maths/test/Abs.test.js
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
Reference in New Issue
Block a user