0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.github/workflows/schemas-main.yml

27 lines
524 B
YAML

name: Schemas
on:
push:
branches: [ master ]
paths: [ 'packages/schemas/**' ]
pull_request:
branches: [ master ]
paths: [ 'packages/schemas/**' ]
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: Lint
working-directory: packages/schemas
run: pnpm lint
- name: Build
working-directory: packages/schemas
run: pnpm build