Skip to content

Commit 2a1c880

Browse files
authored
Merge pull request #6 from RedHat-UX/NGUI-404-optimize-bundle
fix(NGUI-404): Optimize next-gen-ui-react package for bundle size and release readiness
2 parents 279b214 + 0902572 commit 2a1c880

File tree

7 files changed

+1140
-4041
lines changed

7 files changed

+1140
-4041
lines changed

.github/workflows/next_gen_ui_react_tests.yml renamed to .github/workflows/tests.yml

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,36 +4,28 @@ on:
44
push:
55
branches:
66
- main
7-
paths:
8-
- 'libs_js/next_gen_ui_react/**'
97
pull_request:
10-
paths:
11-
- 'libs_js/next_gen_ui_react/**'
128

139
jobs:
1410
react-tests:
1511
name: React unit tests
1612
runs-on: ubuntu-latest
17-
defaults:
18-
run:
19-
working-directory: libs_js/next_gen_ui_react
2013
steps:
2114
- name: Checkout repository
2215
uses: actions/checkout@v4
2316

2417
- name: Setup Node.js
2518
uses: actions/setup-node@v4
2619
with:
27-
node-version: 20
20+
node-version-file: '.nvmrc'
21+
registry-url: 'https://registry.npmjs.org'
2822
cache: npm
29-
cache-dependency-path: libs_js/next_gen_ui_react/package-lock.json
23+
cache-dependency-path: package-lock.json
3024

3125
- name: Install dependencies
3226
run: npm ci
3327

3428
- name: Run unit tests
3529
run: npm run test:ci
3630
env:
37-
CI: true
38-
39-
31+
CI: true

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
22

0 commit comments

Comments
 (0)