mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
33baaa8c36
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 * chore(deps): upgrade stylelint to v14 Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Gao Sun <gao@silverhand.io>
34 lines
667 B
YAML
34 lines
667 B
YAML
name: Main
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
jobs:
|
|
main:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Setup Node and pnpm
|
|
uses: logto-io/actions-node-pnpm-run-steps@v1.2.1
|
|
|
|
- name: Build
|
|
run: pnpm -- lerna run --stream build
|
|
|
|
- name: Lint
|
|
run: pnpm -- lerna run --parallel lint
|
|
|
|
- name: Stylelint
|
|
run: pnpm -- lerna run --parallel stylelint
|
|
|
|
- name: Test
|
|
run: pnpm -- lerna run --parallel test:coverage
|
|
|
|
- name: Codecov
|
|
uses: codecov/codecov-action@v3
|
|
with:
|
|
flags: core
|
|
directory: ./packages/core
|