Update nodejs.yml

This commit is contained in:
Francisco Hodge 2019-08-26 21:22:31 -04:00 committed by GitHub
parent 76e6a29a36
commit 68b4298a34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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