0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.github/workflows/master-codecov-report.yml
renovate[bot] ae5284b1d3
chore(deps): update pnpm to v9 (#5727)
* chore(deps): update pnpm to v9

* ci: fix alteration

---------

Co-authored-by: Gao Sun <gao@silverhand.io>
2024-05-09 08:42:31 +00:00

39 lines
826 B
YAML

name: Master Codecov Report
on:
push:
branches: [master]
concurrency: ${{ github.workflow }}
jobs:
report-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node and pnpm
uses: silverhand-io/actions-node-pnpm-run-steps@v4
with:
pnpm-version: 9
- name: Build for test
run: pnpm -r build:test
- name: Test
run: pnpm ci:test
- name: Codecov Core
uses: codecov/codecov-action@v4
with:
flags: core
directory: ./packages/core
token: ${{ secrets.CODECOV_TOKEN }}
- name: Codecov UI
uses: codecov/codecov-action@v4
with:
flags: experience
directory: ./packages/experience
token: ${{ secrets.CODECOV_TOKEN }}