Skip to content

Commit

Permalink
Bump node version support to >=18
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Jan 2, 2025
1 parent 7857bf8 commit cb2ed8b
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/gentle-paws-wait.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'publint': minor
---

Bump node version support to >=18
2 changes: 1 addition & 1 deletion .github/workflows/analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: pnpm
- name: Cache analysis downloads
uses: actions/cache@v4
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]
node: [18, 20, 22]
include:
- os: windows-latest
node: 22
fail-fast: false
steps:
- name: Checkout repo
Expand All @@ -38,7 +42,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: ${{ matrix.node }}
cache: pnpm
- name: Setup bun
uses: oven-sh/setup-bun@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"packageManager": "pnpm@9.15.1",
"engines": {
"node": ">=16"
"node": ">=18"
},
"devDependencies": {
"@changesets/cli": "^2.27.11",
Expand Down
2 changes: 1 addition & 1 deletion packages/pack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"prepublishOnly": "node ../publint/lib/cli.js"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"files": [
"src"
Expand Down
2 changes: 1 addition & 1 deletion packages/publint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"prepublishOnly": "pnpm cli"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"files": [
"lib",
Expand Down

0 comments on commit cb2ed8b

Please sign in to comment.