2022-06-21 21:19:00 -05:00
|
|
|
name: Master Codecov Report
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master]
|
|
|
|
|
2023-01-18 22:22:17 -05:00
|
|
|
concurrency: ${{ github.workflow }}
|
2022-06-21 21:19:00 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
report-coverage:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-05 03:13:24 -05:00
|
|
|
- uses: actions/checkout@v4
|
2022-06-21 21:19:00 -05:00
|
|
|
|
|
|
|
- name: Setup Node and pnpm
|
2023-12-25 23:35:11 -05:00
|
|
|
uses: silverhand-io/actions-node-pnpm-run-steps@v4
|
2024-05-09 03:42:31 -05:00
|
|
|
with:
|
|
|
|
pnpm-version: 9
|
2022-06-21 21:19:00 -05:00
|
|
|
|
2022-12-13 19:56:20 -05:00
|
|
|
- name: Build for test
|
|
|
|
run: pnpm -r build:test
|
2022-06-21 21:19:00 -05:00
|
|
|
|
|
|
|
- name: Test
|
|
|
|
run: pnpm ci:test
|
|
|
|
|
|
|
|
- name: Codecov Core
|
2024-01-31 23:04:42 -05:00
|
|
|
uses: codecov/codecov-action@v4
|
2022-06-21 21:19:00 -05:00
|
|
|
with:
|
|
|
|
flags: core
|
|
|
|
directory: ./packages/core
|
2024-04-25 21:52:14 -05:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|
2022-06-21 21:19:00 -05:00
|
|
|
|
|
|
|
- name: Codecov UI
|
2024-01-31 23:04:42 -05:00
|
|
|
uses: codecov/codecov-action@v4
|
2022-06-21 21:19:00 -05:00
|
|
|
with:
|
2023-09-19 22:49:51 -05:00
|
|
|
flags: experience
|
|
|
|
directory: ./packages/experience
|
2024-04-25 21:52:14 -05:00
|
|
|
token: ${{ secrets.CODECOV_TOKEN }}
|