Skip to content

Commit bf25a57

Browse files
committed
Add a build for calm widgets (#1495)
1 parent d797ee6 commit bf25a57

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: Build Calm Widgets
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
pull_request:
8+
branches:
9+
- 'main'
10+
push:
11+
branches:
12+
- 'main'
13+
14+
jobs:
15+
shared:
16+
name: Build, Test, and Lint Calm Widgets Module
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout PR Branch
21+
uses: actions/checkout@v4
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v4
25+
with:
26+
node-version: v22
27+
28+
- name: Install workspace
29+
run: npm ci
30+
31+
- name: Lint Shared Module
32+
run: npm run lint --workspace=calm-widgets
33+
34+
- name: Build workspace
35+
run: npm run build --workspace=calm-widgets
36+
37+
- name: Run tests with coverage for Calm Widgets
38+
run: npm run test --workspace=calm-widgets

0 commit comments

Comments
 (0)