Skip to content

Commit 151bdc9

Browse files
vaibhavbhalla2505Vaibhav  Bhalla
andauthored
refactor(chore): node and loopback packages version upgrade (#150)
node and loopback packages version upgrade BREAKING CHANGE: yes GH-149 Co-authored-by: Vaibhav Bhalla <[email protected]>
1 parent 847e04d commit 151bdc9

File tree

4 files changed

+2358
-1329
lines changed

4 files changed

+2358
-1329
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)