Skip to content

Commit 221d87a

Browse files
committed
ci: Integrate "logger" into monorepo setup
JIRA: CPOUI5FOUNDATION-1139
1 parent 6515f44 commit 221d87a

26 files changed

Lines changed: 3700 additions & 8164 deletions

.github/workflows/github-ci.yml

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,34 @@ on:
88
branches:
99
- main
1010

11-
# No permissions are required for this workflow
12-
permissions: {}
11+
permissions:
12+
contents: read
1313

1414
jobs:
15-
test:
16-
name: General checks and tests
17-
runs-on: ubuntu-latest
15+
checks:
16+
name: Linting, dependency check and unit tests
17+
runs-on: ubuntu-24.04
1818
steps:
1919

20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@v5
2121

22-
- name: Use Node.js LTS 20.x
23-
uses: actions/setup-node@v5.0.0
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v5
2424
with:
25-
node-version: 20.x
25+
node-version: 20.11.0
2626

2727
- name: Install dependencies
2828
run: npm ci
2929

30-
- name: Perform checks and tests
31-
run: npm test
30+
- name: Perform ESLint check
31+
run: npm run lint
32+
33+
# TODO: Enable when "cli" package has been integrated into monorepo
34+
# - name: Perform Licenses check
35+
# run: npm run check-licenses
36+
37+
- name: Perform dependency check
38+
run: npm run depcheck
39+
40+
- name: Run unit tests
41+
run: npm run coverage

0 commit comments

Comments
 (0)