Update nodejs.yml

This commit is contained in:
Christian Clauss
2020-10-31 09:07:09 +01:00
committed by GitHub
parent 3fec0509dd
commit 9bae390f01

View File

@ -14,13 +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 mocha standard --save-dev npm install doctest 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
npx mocha # Maths/test/Abs.test.js # npx mocha # Maths/test/Abs.test.js
env: env:
CI: true CI: true