0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/.github/workflows/main.yml
Gao Sun 5ce8c18652
feat(console): init (#239)
* feat(console): init

* refactor: remove unused tsconfig props

* fix: lint error
2022-02-16 15:04:34 +08:00

32 lines
640 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: Style Lint
run: pnpm -- lerna run --parallel stylelint
- name: Test
run: pnpm -- lerna run --parallel test:coverage
- name: Coverage Report
run: pnpm -- lerna run --parallel test:report