fix: restore registry URL in .npmrc configuration #2
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: CI | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main, develop] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| jobs: | |
| validate: | |
| name: Validate Code Quality | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Necesario para commitlint | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| - name: Setup pnpm | |
| uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10 | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Lint | |
| run: pnpm lint | |
| - name: Format check | |
| run: pnpm format --check | |
| - name: TypeScript check | |
| run: pnpm typecheck | |
| - name: Run tests | |
| run: pnpm test | |
| - name: Build check | |
| run: pnpm build | |
| - name: Audit dependencies | |
| run: pnpm audit --prod --audit-level=moderate && pnpm audit signatures | |
| - name: Commitlint | |
| if: github.event_name == 'pull_request' | |
| run: pnpm commitlint --from=${{ github.event.pull_request.base.sha }} --to=HEAD |