33 lines
606 B
YAML
Raw Normal View History

2019-08-26 21:09:27 -04:00
name: Node CI
on:
push:
branches:
- master
- staging
jobs:
build:
runs-on: ubuntu-latest
2019-08-26 21:13:53 -04:00
strategy:
matrix:
node-version: [12.x]
2019-08-26 21:09:27 -04:00
steps:
- uses: actions/checkout@v1
2019-08-26 21:15:17 -04:00
- name: Use Node.js ${{ matrix.node_version }}
2019-08-26 21:09:27 -04:00
uses: actions/setup-node@v1
with:
2019-08-26 21:15:17 -04:00
node-version: ${{ matrix.node_version }}
2019-08-26 21:09:27 -04:00
- name: npm install, build, and test
run: |
npm install -g codecov
npm install
npm run start -- --testMode
npm run demo
npm run coverage
codecov
env:
CI: true