Skip to content

Commit fd83488

Browse files
committed
Set Node.js floor to 24
Add engines.node >= 24, cover Node 24 in the CI matrix, and state the floor in README and AGENTS.md.
1 parent 1b7f9fb commit fd83488

4 files changed

Lines changed: 24 additions & 3 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
check:
9+
runs-on: ubuntu-latest
10+
strategy:
11+
matrix:
12+
node-version: [24]
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: ${{ matrix.node-version }}
18+
- uses: oven-sh/setup-bun@v2
19+
- run: bun install --frozen-lockfile
20+
- run: bun run check

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ bun run check # typecheck + lint + format:check + test
4646
The package ships TypeScript source on npm as `@corbits/oauth-core`:
4747
`exports` points at `src/index.ts`, there is no build step and no `dist/`.
4848
Consumers install the published package (`bun add @corbits/oauth-core` or
49-
`npm install @corbits/oauth-core`) on Bun >= 1.2, which runs the source
49+
`npm install @corbits/oauth-core`) on Node.js >= 24 or Bun >= 1.2, which runs the source
5050
as-is. A release is a version bump followed by
5151
`npm publish --access public` with no other preparation.

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ npm install @corbits/oauth-core
1818
```
1919

2020
The package ships TypeScript source and needs no build step. It requires
21-
Bun >= 1.2, which consumes the TypeScript source directly.
21+
Node.js >= 24 or Bun >= 1.2, which consumes the TypeScript source directly.
2222

2323
## Usage
2424

‎package.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"typescript-eslint": "8.42.0"
4040
},
4141
"engines": {
42-
"bun": ">=1.2.0"
42+
"bun": ">=1.2.0",
43+
"node": ">=24"
4344
},
4445
"repository": {
4546
"type": "git",

0 commit comments

Comments
 (0)