mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
35 lines
677 B
YAML
35 lines
677 B
YAML
name: Master Codecov Report
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
|
|
concurrency: master-codecov-report
|
|
|
|
jobs:
|
|
report-coverage:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Node and pnpm
|
|
uses: silverhand-io/actions-node-pnpm-run-steps@v2
|
|
|
|
- name: Build for test
|
|
run: pnpm -r build:test
|
|
|
|
- name: Test
|
|
run: pnpm ci:test
|
|
|
|
- name: Codecov Core
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
flags: core
|
|
directory: ./packages/core
|
|
|
|
- name: Codecov UI
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
flags: ui
|
|
directory: ./packages/ui
|