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:
Adam Shiervani 2025-05-21 12:57:45 +02:00
parent 6d74e51086
commit 8a9fee1d13
1 changed files with 4 additions and 2 deletions

View File

@ -7,21 +7,23 @@ on:
- "package.json"
- "package-lock.json"
- ".github/workflows/ui-lint.yml"
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
ui-lint:
name: UI Lint
runs-on: buildjet-4vcpu-ubuntu-2204
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: v21.1.0
node-version: v22.15.0
cache: "npm"
cache-dependency-path: "ui/package-lock.json"
- name: Install dependencies