simple-keyboard/.github/workflows/nodejs.yml

33 lines
548 B
YAML
Raw Normal View History

2019-08-27 09:09:27 +08:00
name: Node CI
on:
push:
branches:
- master
- staging
jobs:
build:
runs-on: ubuntu-latest
2019-08-27 09:10:36 +08:00
strategy:
matrix:
node-version: [12.x]
2019-08-27 09:09:27 +08:00
steps:
- uses: actions/checkout@v1
- name: Use latest Node.js
uses: actions/setup-node@v1
with:
node-version: latest
- 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