mirror of https://github.com/jetkvm/kvm.git
chore: update UI lint workflow configuration
- Add pull_request trigger to the workflow. - Change runner from buildjet-4vcpu-ubuntu-2204 to ubuntu-latest. - Upgrade Node.js version from v21.1.0 to v22.15.0.
This commit is contained in:
parent
6d74e51086
commit
8a9fee1d13
|
@ -7,21 +7,23 @@ on:
|
||||||
- "package.json"
|
- "package.json"
|
||||||
- "package-lock.json"
|
- "package-lock.json"
|
||||||
- ".github/workflows/ui-lint.yml"
|
- ".github/workflows/ui-lint.yml"
|
||||||
|
pull_request:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ui-lint:
|
ui-lint:
|
||||||
name: UI Lint
|
name: UI Lint
|
||||||
runs-on: buildjet-4vcpu-ubuntu-2204
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
- name: Set up Node.js
|
- name: Set up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: v21.1.0
|
node-version: v22.15.0
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
cache-dependency-path: "ui/package-lock.json"
|
cache-dependency-path: "ui/package-lock.json"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
|
Loading…
Reference in New Issue