Skip to content

Commit 94f16f5

Browse files
committed
chore(ci): update CI configuration for matrix builds
- Added concurrency settings - Implemented matrix strategy for OS and Node versions Signed-off-by: J3m5 <5523410+J3m5@users.noreply.github.com>
1 parent d354298 commit 94f16f5

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,18 @@ on:
66
push:
77
branches: [main]
88

9+
concurrency:
10+
group: ${{ github.workflow }}-${{ github.ref }}
11+
cancel-in-progress: true
12+
913
jobs:
1014
ci:
1115
name: Continuous integration
12-
runs-on: ubuntu-latest
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
matrix:
19+
os: [ubuntu-latest]
20+
node: [20, 22, 24]
1321

1422
steps:
1523
- name: Checkout
@@ -23,7 +31,7 @@ jobs:
2331
- name: Setup Node
2432
uses: actions/setup-node@v4
2533
with:
26-
node-version: 22
34+
node-version: ${{ matrix.node }}
2735
cache: "pnpm"
2836

2937
- name: Install dependencies

0 commit comments

Comments
 (0)