mirror of
https://github.com/jetkvm/kvm.git
synced 2025-09-16 08:38:14 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
667 B
YAML
35 lines
667 B
YAML
---
|
|
name: ui-lint
|
|
on:
|
|
push:
|
|
paths:
|
|
- "ui/**"
|
|
- "package.json"
|
|
- "package-lock.json"
|
|
- ".github/workflows/ui-lint.yml"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
ui-lint:
|
|
name: UI Lint
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v5
|
|
- name: Set up Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "22"
|
|
cache: "npm"
|
|
cache-dependency-path: "**/package-lock.json"
|
|
- name: Install dependencies
|
|
run: |
|
|
cd ui
|
|
npm ci
|
|
- name: Lint UI
|
|
run: |
|
|
cd ui
|
|
npm run lint
|