Skip to content

Commit 0f40157

Browse files
committed
[ci] drop Node 16.x support (EOL since Sep 2023, required for typescript-eslint v8)
1 parent 1c047be commit 0f40157

File tree

4 files changed

+7
-13
lines changed

4 files changed

+7
-13
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626

2727
strategy:
2828
matrix:
29-
node-version: [16.x, 18.x, 20.x]
29+
node-version: [18.x, 20.x]
3030

3131
steps:
3232
- name: Checkout code
@@ -45,9 +45,7 @@ jobs:
4545
run: |
4646
echo "Current npm version: $(npm --version)"
4747
echo "Attempting to update npm..."
48-
if [[ "${{ matrix.node-version }}" == "16.x" ]]; then
49-
npm install -g npm@8 || echo "Failed to update npm, continuing with existing version"
50-
elif [[ "${{ matrix.node-version }}" == "18.x" ]]; then
48+
if [[ "${{ matrix.node-version }}" == "18.x" ]]; then
5149
npm install -g npm@10 || echo "Failed to update npm, continuing with existing version"
5250
else
5351
npm install -g npm@latest || echo "Failed to update npm, continuing with existing version"

.github/workflows/test-branch.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131

3232
strategy:
3333
matrix:
34-
node-version: [16.x, 18.x, 20.x]
34+
node-version: [18.x, 20.x]
3535

3636
steps:
3737
- name: Checkout specified branch
@@ -49,9 +49,7 @@ jobs:
4949
run: |
5050
echo "Current npm version: $(npm --version)"
5151
echo "Attempting to update npm..."
52-
if [[ "${{ matrix.node-version }}" == "16.x" ]]; then
53-
npm install -g npm@8 || echo "Failed to update npm, continuing with existing version"
54-
elif [[ "${{ matrix.node-version }}" == "18.x" ]]; then
52+
if [[ "${{ matrix.node-version }}" == "18.x" ]]; then
5553
npm install -g npm@10 || echo "Failed to update npm, continuing with existing version"
5654
else
5755
npm install -g npm@latest || echo "Failed to update npm, continuing with existing version"

.github/workflows/test-pr-command.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
2929
strategy:
3030
matrix:
31-
node-version: [16.x, 18.x, 20.x]
31+
node-version: [18.x, 20.x]
3232

3333
steps:
3434
- name: React to comment
@@ -70,9 +70,7 @@ jobs:
7070
run: |
7171
echo "Current npm version: $(npm --version)"
7272
echo "Attempting to update npm..."
73-
if [[ "${{ matrix.node-version }}" == "16.x" ]]; then
74-
npm install -g npm@8 || echo "Failed to update npm, continuing with existing version"
75-
elif [[ "${{ matrix.node-version }}" == "18.x" ]]; then
73+
if [[ "${{ matrix.node-version }}" == "18.x" ]]; then
7674
npm install -g npm@10 || echo "Failed to update npm, continuing with existing version"
7775
else
7876
npm install -g npm@latest || echo "Failed to update npm, continuing with existing version"

AGENTS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The USAi API is a TypeScript/Node.js client library that provides an OpenAI-comp
88

99
### Key Technologies
1010
- TypeScript with strict mode
11-
- Node.js (16.x, 18.x, 20.x support)
11+
- Node.js (18.x, 20.x support)
1212
- Jest for testing
1313
- ESLint + Prettier for code quality
1414
- OpenAI-compatible API design patterns

0 commit comments

Comments
 (0)