mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-01-19 08:32:57 +08:00
Testing Github CI
This commit is contained in:
parent
33bcf47f71
commit
a782deefea
27
.github/workflows/nodejs.yml
vendored
Normal file
27
.github/workflows/nodejs.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Node CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- staging
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
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
|
Loading…
Reference in New Issue
Block a user