Skip to content

Commit 109fa0d

Browse files
committed
feat: Support Node 18, 20, & 22
1 parent c471376 commit 109fa0d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/sync-repo-settings.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ branchProtectionRules:
88
- "ci/kokoro: Samples test"
99
- "ci/kokoro: System test"
1010
- lint
11-
- test (14)
12-
- test (16)
1311
- test (18)
12+
- test (20)
13+
- test (22)
1414
- cla/google
1515
- windows
1616
- OwlBot Post Processor

.github/workflows/ci.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
strategy:
1111
matrix:
12-
node: [14, 16, 18, 20]
12+
node: [18, 20, 22]
1313
steps:
1414
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1515
- uses: actions/setup-node@v4
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
3333
- uses: actions/setup-node@v4
3434
with:
35-
node-version: 14
35+
node-version: 18
3636
- run: npm install
3737
- run: npm test
3838
env:
@@ -43,7 +43,7 @@ jobs:
4343
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4444
- uses: actions/setup-node@v4
4545
with:
46-
node-version: 14
46+
node-version: 18
4747
- run: npm install
4848
- run: npm run lint
4949
docs:

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"author": "Google Inc.",
55
"description": "Google APIs Authentication Client Library for Node.js",
66
"engines": {
7-
"node": ">=14"
7+
"node": ">=18"
88
},
99
"main": "./build/src/index.js",
1010
"types": "./build/src/index.d.ts",

samples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test": "mocha --timeout 60000"
1010
},
1111
"engines": {
12-
"node": ">=14"
12+
"node": ">=18"
1313
},
1414
"license": "Apache-2.0",
1515
"dependencies": {

0 commit comments

Comments
 (0)