File tree Expand file tree Collapse file tree
custom_components/alarmo/frontend Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Frontend Build Check
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - ' custom_components/alarmo/frontend/**'
7+ push :
8+ paths :
9+ - ' custom_components/alarmo/frontend/**'
10+ workflow_dispatch :
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - uses : actions/checkout@v4
18+
19+ - uses : actions/setup-node@v4
20+ with :
21+ node-version : ' 24'
22+
23+ - name : Install dependencies
24+ working-directory : custom_components/alarmo/frontend
25+ run : npm install
26+
27+ - name : Run linter check
28+ working-directory : custom_components/alarmo/frontend
29+ run : npm run lint:check
30+
31+ - name : Build frontend
32+ working-directory : custom_components/alarmo/frontend
33+ run : npm run build
Original file line number Diff line number Diff line change 99 "rollup" : " rollup -c" ,
1010 "babel" : " ./node_modules/.bin/babel dist/alarm-panel.js --out-file dist/alarm-panel.js" ,
1111 "lint" : " eslint src/**/*.ts --fix" ,
12+ "lint:check" : " eslint src/**/*.ts" ,
1213 "start" : " rollup -c --watch"
1314 },
1415 "repository" : {
You can’t perform that action at this time.
0 commit comments