Files
nezha-dash-v1/.github/workflows/ci.yml
T
仓鼠 8a2d8d67bd Refactor CI workflows and add Dependabot configuration (#67)
* fix: remove duplicate pnpm setup step in CI and build workflows

* fix: remove version specification for pnpm setup in CI and build workflows

* feat: add Dependabot configuration for GitHub Actions updates

* chore: auto-fix linting and formatting issues
2026-06-04 11:24:59 +08:00

37 lines
664 B
YAML

name: CI
on:
push:
branches:
- "**"
pull_request:
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up pnpm
uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run build
run: pnpm run build