0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/.github/workflows/main.yml
simeng-li aafc258ad9
ci(codecov): add jest coverage report (#167)
* ci(codecov): add jest coverage report

add coverage report on core and ui project
add codecov uploader job

* ci: add report upload github workflow action

add report upload github workflow action

* ci: fix ci replace github test actions with test:report

 fix ci replace github test actions with test:report
2022-01-10 10:04:00 +08:00

29 lines
562 B
YAML

name: Main
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node and pnpm
uses: logto-io/actions-node-pnpm-run-steps@v1.0.2
- name: Build
run: pnpm -- lerna run --stream build
- name: Lint
run: pnpm -- lerna run --parallel lint
- name: Test
run: pnpm -- lerna run --parallel test:coverage
- name: Coverage Report
run: pnpm -- lerna run --parallel test:report