Skip to content

Commit 1f00388

Browse files
committed
Update node version for undici proxy support
1 parent 19e441f commit 1f00388

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- uses: actions/setup-node@v4
2424
with:
25-
node-version-file: .node-version
25+
node-version-file: package.json
2626
cache: 'npm'
2727

2828
- run: npm ci

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
- uses: actions/setup-node@v4
2222
with:
23-
node-version-file: .node-version
23+
node-version-file: package.json
2424
cache: 'npm'
2525

2626
- run: npm ci

.node-version

-1
This file was deleted.

package.json

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"type": "module",
55
"version": "1.10.3",
66
"description": "GitHub Action for creating a GitHub App Installation Access Token",
7+
"engines": {
8+
"node": ">=20.16.0 <21"
9+
},
710
"scripts": {
811
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node20 --packages=bundle",
912
"test": "c8 --100 ava tests/index.js",

0 commit comments

Comments
 (0)