-
-
Notifications
You must be signed in to change notification settings - Fork 14
35 lines (28 loc) · 746 Bytes
/
Copy pathui.yaml
File metadata and controls
35 lines (28 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: UI lint and bundle
on:
pull_request:
paths:
- ".github/workflows/ui.yaml"
- "ui/**"
- "package-lock.json"
permissions: {}
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: "24"
cache: npm
- name: Install npm dependencies
run: npm ci
- name: Lint the UI project
run: npm run lint --workspace ui
- name: Bundle the UI project
run: npm run bundle --workspace ui