8000 Merge pull request #23 from lenchv/fix/codecov · lenchv/jks-js@36b71fc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Merge pull request #23 from lenchv/fix/codecov #59

Merge pull request #23 from lenchv/fix/codecov

Merge pull request #23 from lenchv/fix/codecov #59

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
- develop
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, windows-latest]
node-version: [18.x, '20.x']
steps:
- uses: actions/checkout@v3
- name: Run tests on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
npm run test
coverage:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, '20.x']
steps:
- uses: actions/checkout@v3
- name: Coverage on Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: |
npm install
npm run test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
directory: ./
fail_ci_if_error: true
flags: unittests
name: codecov-umbrella
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
1659
0