Skip to content

Commit d20f869

Browse files
committed
chore(ci): test on node@22 and node@24
1 parent 3f65221 commit d20f869

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ on:
99
permissions:
1010
contents: read
1111

12+
env:
13+
NODE_VERSION: '24.x'
14+
1215
jobs:
1316
build:
1417
runs-on: ubuntu-latest
1518

1619
strategy:
1720
matrix:
18-
node-version: [16, 18, 20]
21+
node-version: [16.x, 18.x, 20.x, 22.x, 24.x]
1922

2023
steps:
2124
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -48,7 +51,7 @@ jobs:
4851
- name: Set up node
4952
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
5053
with:
51-
node-version: 20
54+
node-version: ${{ env.NODE_VERSION }}
5255
cache: "npm"
5356

5457
- name: Install dependencies
@@ -87,7 +90,7 @@ jobs:
8790
- name: Set up node
8891
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
8992
with:
90-
node-version: 20
93+
node-version: ${{ env.NODE_VERSION }}
9194
registry-url: "https://registry.npmjs.org"
9295
scope: "@openfga"
9396
always-auth: false

0 commit comments

Comments
 (0)