Skip to content

PLASMA-3865: Flow component #7987

PLASMA-3865: Flow component

PLASMA-3865: Flow component #7987

name: Typescript coverage
on:
pull_request:
branches:
- master
- dev
concurrency:
# New commit on branch cancels running workflows of the same branch
group: ${{ github.workflow }}-${{ github.head_ref }}
cancel-in-progress: true
jobs:
typescript-coverage:
runs-on: ubuntu-latest
env:
# INFO: Игнорируем пакеты связанные с plasma-tokens, документацией и утилитами, т.к. в них не запускается typescript-coverage
LERNA_IGNORE_LIST: "@salutejs/plasma-{tokens*,cy-utils,sb-utils}"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
show-progress: false
- name: Prepare environment
uses: ./.github/actions/prepare-environment
- name: Lerna bootstrap
run: npx lerna bootstrap --no-private
- name: Run Typescript Coverage
if: ${{ always() }}
run: |
npm run typescript-coverage -- --no-private --ignore=${{env.LERNA_IGNORE_LIST}}
- name: Save artifacts
if: ${{ failure() }}
uses: actions/[email protected]
with:
name: Typescript Coverage Report Artifacts
path: packages/*/coverage-ts/