0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-23 20:33:16 -05:00
logto/.github/workflows/main.yml
renovate[bot] b582eaa20e
chore(deps): update logto-io/actions-node-pnpm-run-steps action to v1.1.0 (#614)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-22 07:56:31 +00:00

34 lines
668 B
YAML

name: Main
on:
push:
branches: [master]
pull_request:
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.1.0
- 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: Codecov
uses: codecov/codecov-action@v2
with:
flags: core
directory: ./packages/core