chore(deps): bump hono from 4.12.18 to 4.13.1 #76
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: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| typecheck: | |
| name: Type check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm install --no-audit --no-fund | |
| - run: npx tsc --noEmit | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm install --no-audit --no-fund | |
| - run: npx vitest run | |
| validate-package: | |
| name: Validate package | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-node@v6 | |
| with: | |
| node-version: 22 | |
| - run: npm install --no-audit --no-fund | |
| - run: | | |
| node -e " | |
| const p = require('./package.json'); | |
| const assert = require('assert'); | |
| assert(p.name, 'missing name'); | |
| assert(p.version, 'missing version'); | |
| assert(p.peerDependencies?.emdash, 'missing emdash peer dep'); | |
| assert(p.exports?.['.'], 'missing main export'); | |
| assert(p.exports?.['./sandbox'], 'missing sandbox export'); | |
| assert(p.exports?.['./astro'], 'missing astro export'); | |
| assert(p.dependencies?.['highlight.js'], 'missing highlight.js dep'); | |
| console.log('package.json valid'); | |
| " |