Skip to content

feat: add Vercel deployment support to app-host example using Hono #699

feat: add Vercel deployment support to app-host example using Hono

feat: add Vercel deployment support to app-host example using Hono #699

Workflow file for this run

name: Validate Dependencies
on:
pull_request:
paths:
- '**/package.json'
- 'pnpm-lock.yaml'
schedule:
# Run weekly on Monday at 03:00 UTC
- cron: '0 3 * * 1'
workflow_dispatch:
jobs:
validate:
name: Validate Package Dependencies
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version: '20'
- name: Enable Corepack
run: corepack enable
- name: Verify pnpm version
run: pnpm --version
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm cache
uses: actions/cache@v5
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-v3-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-v3-
- name: Verify lockfile is up to date
run: |
pnpm install --frozen-lockfile --prefer-offline
- name: Check for dependency issues
run: |
# Fail the workflow if high-severity vulnerabilities are found
# This enforces security compliance before merging
pnpm audit --audit-level=high
- name: List outdated packages
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
run: |
pnpm outdated --recursive || true