PLASMA-4055: add Note component #7981
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/ |