feat(Menu): add new Menu composites
#3955
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: 'Code Quality Checks' | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| env: | |
| TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
| TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite/install | |
| - name: Build packages | |
| run: pnpm build | |
| eslint: | |
| name: ESLint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite/install | |
| - name: Run ESLint | |
| run: pnpm lint | |
| types: | |
| name: TypeScript | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite/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/install | |
| - name: Run prettier | |
| run: pnpm format:check | |
| vitest: | |
| name: Vitest | |
| needs: build | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout branch | |
| uses: actions/checkout@v4 | |
| - name: Install | |
| uses: ./.github/composite/install | |
| - name: Run Vitest | |
| run: pnpm test |