Skip to content

🌱 Update codecov settings, make coverage non-blocking #3898

🌱 Update codecov settings, make coverage non-blocking

🌱 Update codecov settings, make coverage non-blocking #3898

Workflow file for this run

name: CI
on:
push:
branches:
- main
- "v[0-9]+.[0-9]+.[0-9]+"
- "release-*"
pull_request:
branches:
- main
- "v[0-9]+.[0-9]+.[0-9]+"
- "release-*"
jobs:
unit-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm clean-install
- name: Build
run: npm run build
- name: Test
run: npm run test -- --coverage --watchAll=false
- name: Code coverage (PR to main or push to main)
uses: codecov/codecov-action@v1
with:
flags: client
directory: ./*/coverage
- name: Code coverage (PR to main or push to main)
uses: codecov/codecov-action@v1
with:
flags: server
directory: ./*/coverage