mirror of
https://github.com/logto-io/logto.git
synced 2025-03-10 22:22:45 -05:00
fix(worklow): add master codecov report job (#1189)
* fix(worklow): add master codecov report job add master codecov report job * fix(ci): cr fix cr fix
This commit is contained in:
parent
520f66cf3c
commit
67613aec7a
1 changed files with 35 additions and 0 deletions
35
.github/workflows/master-codecov-report.yml
vendored
Normal file
35
.github/workflows/master-codecov-report.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
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@v1.2.2
|
||||
|
||||
- name: Prepack
|
||||
run: pnpm prepack
|
||||
|
||||
- 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
|
Loading…
Add table
Reference in a new issue