/
sdds
/
plasma
Обзор
Документация
Войти
/
sdds
/
plasma
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
dev
.github/workflows/typescript-coverage.yml
42 строки
1 KB
Alexander Lobyntsev
ci: simplify required checks
02 июл 2024, 10:41
02 июл 2024, 10:41
144a951
Код
Авторство
О чём код?
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/upload-artifact@v4.1.0 with: name: Typescript Coverage Report Artifacts path: packages/*/coverage-ts/