mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-21 00:23:02 +08:00
Update nodejs.yml
This commit is contained in:
parent
97448f126a
commit
cda06005e5
32
.github/workflows/nodejs.yml
vendored
Normal file
32
.github/workflows/nodejs.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
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 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