Files
JavaScript/.github/workflows/nodejs.yml
Christian Clauss 62f96e8c39 Trailing space ;-)
2020-05-05 22:25:32 +02:00

25 lines
574 B
YAML

name: Node CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [13.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 standard --save-dev
npx standard
cd linear-algebra-javascript
npm ci
npm run build --if-present
npm test
env:
CI: true