mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-04-14 04:57:31 +08:00
Update nodejs.yml
This commit is contained in:
parent
76e6a29a36
commit
68b4298a34
14
.github/workflows/nodejs.yml
vendored
14
.github/workflows/nodejs.yml
vendored
@ -14,19 +14,23 @@ jobs:
|
|||||||
node-version: [12.x]
|
node-version: [12.x]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@master
|
||||||
|
|
||||||
- name: Use Node.js ${{ matrix.node_version }}
|
- name: Use Node.js ${{ matrix.node_version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@master
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node_version }}
|
node-version: ${{ matrix.node_version }}
|
||||||
|
|
||||||
- name: npm install, build, and test
|
- name: npm install, build, and test
|
||||||
run: |
|
run: |
|
||||||
npm install -g codecov
|
|
||||||
npm install
|
npm install
|
||||||
npm run start -- --testMode
|
npm run start -- --testMode
|
||||||
npm run demo
|
npm run demo
|
||||||
npm run coverage
|
npm run coverage
|
||||||
codecov
|
|
||||||
|
- uses: codecov/codecov-action@v1.0.2
|
||||||
|
with:
|
||||||
|
token: ${{secrets.CODECOV_TOKEN}}
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user