Files
JavaScript/.github/workflows/nodejs.yml
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

26 lines
629 B
YAML

name: Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install doctest standard --save-dev
npx doctest Sorts/BogoSort.js Sorts/BucketSort.js
npx standard
cd Linear-Algebra
npm ci
npm run build --if-present
npm test
env:
CI: true