Skip to content

Merge pull request #25 from SMSDAO/dependabot/npm_and_yarn/hono-4.12.7 #180

Merge pull request #25 from SMSDAO/dependabot/npm_and_yarn/hono-4.12.7

Merge pull request #25 from SMSDAO/dependabot/npm_and_yarn/hono-4.12.7 #180

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
workflow_dispatch:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
validate:
name: Validate (Lint • Type • Test • Build)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node 24
uses: actions/setup-node@v4
with:
node-version: 24
cache: npm
- name: Install dependencies
if: hashFiles('package.json') != ''
run: npm ci
- name: Lint
run: npm run lint --if-present
- name: Typecheck
run: npm run typecheck --if-present
- name: Test
run: npm test --if-present
- name: Build
run: npm run build --if-present
- name: Upload build artifacts
if: success()
uses: actions/upload-artifact@v4
with:
name: build-output
path: |
dist/
.next/
if-no-files-found: ignore
retention-days: 3