Skip to content

Commit

Permalink
feat!: Support Node 18, 20, and 22 (#1928)
Browse files Browse the repository at this point in the history
* feat: Support Node 18, 20, & 22

* chore: dep clean-up
  • Loading branch information
d-goog authored Feb 3, 2025
1 parent 974d67a commit 5b60a95
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .github/sync-repo-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ branchProtectionRules:
- "ci/kokoro: Samples test"
- "ci/kokoro: System test"
- lint
- test (14)
- test (16)
- test (18)
- test (20)
- test (22)
- cla/google
- windows
- OwlBot Post Processor
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [14, 16, 18, 20]
node: [18, 20, 22]
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 18
- run: npm install
- run: npm test
env:
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 18
- run: npm install
- run: npm run lint
docs:
Expand Down
7 changes: 2 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Google Inc.",
"description": "Google APIs Authentication Client Library for Node.js",
"engines": {
"node": ">=14"
"node": ">=18"
},
"main": "./build/src/index.js",
"types": "./build/src/index.d.ts",
Expand Down Expand Up @@ -36,9 +36,7 @@
"assert-rejects": "^1.0.0",
"c8": "^8.0.0",
"chai": "^4.2.0",
"cheerio": "1.0.0-rc.12",
"codecov": "^3.0.2",
"engine.io": "6.6.2",
"gts": "^5.0.0",
"is-docker": "^2.0.0",
"jsdoc": "^4.0.0",
Expand All @@ -52,13 +50,12 @@
"karma-sourcemap-loader": "^0.4.0",
"karma-webpack": "5.0.0",
"keypair": "^1.0.4",
"linkinator": "^4.0.0",
"linkinator": "^6.1.2",
"mocha": "^9.2.2",
"mv": "^2.1.1",
"ncp": "^2.0.0",
"nock": "^13.0.0",
"null-loader": "^4.0.0",
"pdfmake": "0.2.12",
"puppeteer": "^21.0.0",
"sinon": "^18.0.0",
"ts-loader": "^8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "mocha --timeout 60000"
},
"engines": {
"node": ">=14"
"node": ">=18"
},
"license": "Apache-2.0",
"dependencies": {
Expand Down

0 comments on commit 5b60a95

Please sign in to comment.