Skip to content

Commit 42d285f

Browse files
committed
feat: Replace http(s) with node-fetch
The minimum version increases to 14.
1 parent f96bbfa commit 42d285f

File tree

4 files changed

+1613
-2561
lines changed

4 files changed

+1613
-2561
lines changed

.github/workflows/test.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Test
2+
3+
on:
4+
push:
5+
6+
jobs:
7+
test:
8+
runs-on: ubuntu-latest
9+
strategy:
10+
matrix:
11+
version: [14, 16, 18, 20, 22, "latest"]
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: ${{ matrix.version }}
17+
- run: npm ci
18+
- run: npm test
19+
env:
20+
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}

0 commit comments

Comments
 (0)