| name: Quality | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite-actions/install | |
| - name: Build packages | |
| run: pnpm build | |
| tests: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite-actions/install | |
| - name: Run tests | |
| run: pnpm test | |
| eslint: | |
| name: ESLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite-actions/install | |
| - name: Run ESLint | |
| run: pnpm lint | |
| types: | |
| name: TypeScript | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite-actions/install | |
| - name: Run typecheck | |
| run: pnpm typecheck | |
| prettier: | |
| name: Prettier | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite-actions/install | |
| - name: Run prettier | |
| run: pnpm format:check | |