We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d797ee6 commit bf25a57Copy full SHA for bf25a57
.github/workflows/build-calm-widgets.yml
@@ -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
12
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