chore(deps): bump hono from 4.12.21 to 4.12.25 in the npm_and_yarn group across 1 directory #342
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: lint | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, labeled, reopened] | |
| paths-ignore: | |
| - '**/*.md' | |
| - '**/*.mdx' | |
| - 'docs/**' | |
| - '**/docs/**' | |
| workflow_dispatch: | |
| jobs: | |
| lint: | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| # `pull_request` exposes no secrets to fork PRs and uses a read-only token, | |
| # so this is safe to run on every PR (no org-member / label gate needed). | |
| # `npm run lint` also enforces translation key parity via the | |
| # akari/translation-key-parity oxlint rule (replaces the old | |
| # translation-validation workflow). | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24.9.0 | |
| cache: npm | |
| # Cache node_modules itself (not just the ~/.npm download cache) so a | |
| # lockfile-unchanged run skips the ~100s npm ci extract/link/postinstall. | |
| - name: Cache node_modules | |
| id: node-modules | |
| uses: useblacksmith/cache@v5 | |
| with: | |
| path: | | |
| node_modules | |
| apps/*/node_modules | |
| packages/*/node_modules | |
| key: node-modules-${{ runner.os }}-node24-${{ hashFiles('package-lock.json') }} | |
| - if: steps.node-modules.outputs.cache-hit != 'true' | |
| run: npm ci | |
| - run: npm run lint | |
| # Type-check every workspace (tsc --noEmit). oxlint and the app's | |
| # babel-jest both skip type errors, so without this a type error would | |
| # only surface in an editor or at runtime. | |
| - run: npm run typecheck |