Skip to content

Commit 0934943

Browse files
vaibhavbhalla2505Vaibhav  Bhalla
andauthored
refactor(chore): node and loopback packages version upgrade (#256)
BREAKING CHANGE: yes ## Description node and loopback packages version upgrade Fixes # (issue) GH-255 ## Type of change Please delete options that are not relevant. - [ ] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [x] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] Intermediate change (work in progress) ## How Has This Been Tested ? Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration - [ ] Test A - [ ] Test B ## Checklist: - [x] Performed a self-review of my own code - [x] npm test passes on your machine - [ ] New tests added or existing tests modified to cover all changes - [ ] Code conforms with the style guide - [ ] API Documentation in code was updated Co-authored-by: Vaibhav Bhalla <[email protected]>
1 parent 85757a8 commit 0934943

File tree

4 files changed

+2514
-1383
lines changed

4 files changed

+2514
-1383
lines changed

.github/workflows/main.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,26 @@ on:
66
pull_request:
77
branches: [master]
88

9-
# This workflow contains a single job called "npm_test"
109
jobs:
11-
npm_test:
12-
# The type of runner that the job will run on
10+
node_matrix_tests:
1311
runs-on: ubuntu-latest
14-
15-
# Steps represent a sequence of tasks that will be executed as part of the job
12+
strategy:
13+
matrix:
14+
node-version: [20, 22, 24]
1615
steps:
17-
# Checks-out your repository under $GITHUB_WORKSPACE
1816
- uses: actions/checkout@v3
1917
- uses: actions/setup-node@v3
2018
with:
21-
node-version: '18.x'
22-
23-
- name: Install Dependencies 📌
19+
node-version: ${{ matrix.node-version }}
20+
- name: Install Dependencies
2421
run: npm ci
25-
26-
- name: Run Test Cases 🔧
22+
- name: Run Test Cases
2723
run: npm run test
24+
25+
npm_test:
26+
runs-on: ubuntu-latest
27+
needs: node_matrix_tests
28+
if: success()
29+
steps:
30+
- name: Final status
31+
run: echo "✅ All tests passed for Node.js 20, 22, and 24"

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup Node
1818
uses: actions/setup-node@v3
1919
with:
20-
node-version: '18.x'
20+
node-version: '20.x'
2121
- name: Configure CI Git User
2222
run: |
2323
git config --global user.name $CONFIG_USERNAME

0 commit comments

Comments
 (0)