-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (33 loc) · 857 Bytes
/
Copy pathvalidate.yml
File metadata and controls
42 lines (33 loc) · 857 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
36
37
38
39
40
41
42
name: Validate
on:
push:
pull_request:
jobs:
hacs:
name: HACS
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Run HACS validation
uses: hacs/action@main
with:
category: plugin
checks:
name: Lint, tests, and build
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
- name: Install development dependencies
run: npm ci
- name: Check formatting
run: npm run format:check
- name: Check source and build
run: npm run check
- name: Check committed bundle is current
run: git diff --exit-code -- intercom-camera-card.js