chore(deps): bump glob from 10.4.5 to 10.5.0 in /product/packages/frontend #14
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: Format & Lint product | |
| on: | |
| pull_request: | |
| paths: | |
| - 'product/**' | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - 'product/**' | |
| jobs: | |
| format-check: | |
| name: Check formatting | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: product/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'yarn' | |
| cache-dependency-path: 'product/yarn.lock' | |
| - name: Enable Corepack for Yarn | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run format check | |
| run: yarn format:check | |
| lint-check: | |
| name: Lint product folder | |
| runs-on: ubuntu-latest | |
| needs: format-check | |
| defaults: | |
| run: | |
| working-directory: product/ | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: 'yarn' | |
| cache-dependency-path: 'product/yarn.lock' | |
| - name: Enable Corepack for Yarn | |
| run: corepack enable | |
| - name: Install dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Run lint check | |
| run: yarn lint:check |