Skip to content

Commit 20f7f65

Browse files
Merge branch 'hackday' of https://github.com/oliviajanejohns/architecture-as-code into hackday
2 parents 4ff2fbd + b2f8702 commit 20f7f65

37 files changed

+32626
-31326
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Build Calm Hub For Unit Test Coverage
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "main"
7+
push:
8+
branches:
9+
- "main"
10+
11+
jobs:
12+
build:
13+
name: Build Calm Hub
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
# Step 1: Checkout PR Branch
18+
- name: Checkout PR Branch
19+
uses: actions/checkout@v4
20+
21+
# Step 2: Set up JDK
22+
- name: Set up JDK
23+
uses: actions/setup-java@v4
24+
with:
25+
distribution: 'temurin'
26+
java-version: '21'
27+
28+
# Step 3: Cache Maven Dependencies
29+
- name: Cache Maven Dependencies
30+
uses: actions/cache@v4
31+
with:
32+
path: ~/.m2
33+
key: ${{ runner.os }}-m2-${{ hashFiles('calm-hub/pom.xml') }}
34+
restore-keys: |
35+
${{ runner.os }}-m2-
36+
37+
# Step 4: Build and Test
38+
- name: Build and Test
39+
working-directory: calm-hub
40+
run: mvn clean verify

.github/workflows/build-calm-hub-ui.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/build-calm-hub.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build Calm Hub
1+
name: Build Calm Hub with Integration Tests and Coverage
22

33
on:
44
pull_request:

.github/workflows/build-cli.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/build-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424
cache: npm
2525
cache-dependency-path: package-lock.json
2626

.github/workflows/build-shared.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Setup Node.js
2121
uses: actions/setup-node@v4
2222
with:
23-
node-version: v20
23+
node-version: v22
2424

2525
- name: Install workspace
2626
run: npm ci

.github/workflows/cve-scanning-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Set up Node
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: 20
34+
node-version: 22
3535
- name: Build project with NPM
3636
run: npm install --omit=dev
3737
working-directory: ${{ matrix.module-folder }}

.github/workflows/license-scanning-node.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
node-version: ['20.x']
17+
node-version: ['22.x']
1818
module-folder: ['cli', 'docs', 'shared']
1919
steps:
2020
- uses: actions/checkout@v4

.github/workflows/publish-cli-to-npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node.js
1818
uses: actions/setup-node@v4
1919
with:
20-
node-version: v20
20+
node-version: v22
2121
registry-url: "https://registry.npmjs.org"
2222

2323
# Install the workspace

.github/workflows/s3-docs-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- uses: actions/setup-node@v4
2121
with:
22-
node-version: 18
22+
node-version: 22
2323
cache: npm
2424
cache-dependency-path: package-lock.json
2525
- name: Install dependencies

0 commit comments

Comments
 (0)