mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-20 01:22:59 +08:00
33 lines
606 B
YAML
33 lines
606 B
YAML
name: Node CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- staging
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [12.x]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
- 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 -g codecov
|
|
npm install
|
|
npm run start -- --testMode
|
|
npm run demo
|
|
npm run coverage
|
|
codecov
|
|
env:
|
|
CI: true
|