Skip to content

Commit 56b0a82

Browse files
committed
Update Node.js support and GitHub Actions CI config.
1 parent 5e6d5c1 commit 56b0a82

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
strategy:
88
matrix:
99
os: [ubuntu-latest, macos-latest]
10-
node: ["18", "20", "21"]
10+
node: ["20", "22", "24"]
1111
steps:
12-
- uses: actions/checkout@v4
12+
- uses: actions/checkout@v5
1313
- name: Setup Node.js v${{ matrix.node }}
14-
uses: actions/setup-node@v3
14+
uses: actions/setup-node@v4
1515
with:
1616
node-version: ${{ matrix.node }}
1717
- name: npm install and test

changelog.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# apollo-upload-client changelog
22

3+
## Next
4+
5+
### Major
6+
7+
- Updated Node.js support to `^20.9.0 || >=22.0.0`.
8+
9+
### Patch
10+
11+
- Updated GitHub Actions CI config:
12+
- Run tests with Node.js v20, v22, v24.
13+
- Updated `actions/checkout` to v5.
14+
- Updated `actions/setup-node` to v4.
15+
316
## 18.0.1
417

518
### Patch

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141
"./package.json": "./package.json"
4242
},
4343
"engines": {
44-
"node": "^18.15.0 || >=20.4.0"
44+
"node": "^20.9.0 || >=22.0.0"
4545
},
46-
"browserslist": "Node 18.15 - 19 and Node < 19, Node >= 20.4, > 0.5%, not OperaMini all, not IE > 0, not dead",
46+
"browserslist": "Node 20.9 - 21 and Node < 21, Node >= 22, > 0.5%, not OperaMini all, not IE > 0, not dead",
4747
"peerDependencies": {
4848
"@apollo/client": "^3.8.0",
4949
"graphql": "14 - 16"

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ function UploadFile() {
146146

147147
## Requirements
148148

149-
- [Node.js](https://nodejs.org) versions `^18.15.0 || >=20.4.0`.
149+
- [Node.js](https://nodejs.org) versions `^20.9.0 || >=22.0.0`.
150150
- Browsers matching the [Browserslist](https://browsersl.ist) query [`> 0.5%, not OperaMini all, not dead`](https://browsersl.ist/?q=%3E+0.5%25%2C+not+OperaMini+all%2C+not+dead).
151151

152152
Consider polyfilling:

0 commit comments

Comments
 (0)