mirror of
https://github.com/jetkvm/kvm.git
synced 2025-09-16 08:38:14 +00:00
* Move to GitHub runner for build action Lint action * Move to go 1.24.4 * Upgrade go packages github.com/coreos/go-oidc/v3 v3.11.0 -> v3.14.1 github.com/creack/pty v1.1.23 -> v1.1.24 github.com/gwatts/rootcerts v0.0.0-20240401182218-3ab9db955caf -> v0.0.0-20250601184604-370a9a75f341 github.com/pion/logging v0.2.3 -> v0.2.4 github.com/pion/webrtc/v4 v4.0.16 -> v4.1.2 github.com/prometheus/common v0.62.0 -> v0.65.0 github.com/vishvananda/netlink v1.3.1 -> v1.3.1 go.bug.st/serial v1.6.2 -> v1.6.4
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@v4
|
|
- 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
|