chore(deps-dev): bump @commitlint/cli from 20.4.0 to 20.4.1 #237
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: PR Checks | |
| on: | |
| pull_request: | |
| branches: [master, develop] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 1 | |
| - name: Print head and base refs | |
| run: | | |
| echo "Head ref: ${{ github.head_ref }}" | |
| echo "Base ref: ${{ github.base_ref }}" | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .nvmrc | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Type check | |
| run: pnpm typecheck | |
| - name: Check code quality | |
| run: | | |
| pnpm lint | |
| pnpm format:check | |
| pnpm run --if-present generate | |
| - name: Security Audit | |
| run: pnpm audit --audit-level moderate || true | |
| continue-on-error: true | |
| - name: Security Audit Summary | |
| if: success() || failure() | |
| run: pnpm audit --audit-level moderate || true | |
| - name: Archive production artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: build-artifacts | |
| path: ./dist/ | |
| - name: Error handling | |
| if: failure() | |
| run: echo "CI failed. Please check the logs." |