Skip to content

Commit

Permalink
Breaking: bumps Node minimum to 18+
Browse files Browse the repository at this point in the history
  • Loading branch information
zachleat committed Apr 19, 2024
1 parent bbb166a commit 433d8ff
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Node Unit Tests
on:
push:
branches-ignore:
Expand All @@ -8,12 +9,12 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node: ["14", "16", "18"]
node: ["18", "20"]
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
# cache: npm
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ npm install -g @11ty/eleventy-dev-server
npm install @11ty/eleventy-dev-server
```

This package requires Node 14 or newer.
This package requires Node 18 or newer.

### CLI Usage

Expand All @@ -54,3 +54,7 @@ npm run test
```

- We use the [ava JavaScript test runner](https://github.com/avajs/ava) ([Assertions documentation](https://github.com/avajs/ava/blob/master/docs/03-assertions.md))

## Changelog

* `v2.0.0` bumps Node.js minimum to 18.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@11ty/eleventy-dev-server",
"version": "1.0.4",
"version": "2.0.0",
"description": "A minimal, modern, generic, hot-reloading local web server to help web developers.",
"main": "server.js",
"scripts": {
Expand All @@ -9,7 +9,7 @@
},
"license": "MIT",
"engines": {
"node": ">=14"
"node": ">=18"
},
"funding": {
"type": "opencollective",
Expand Down

0 comments on commit 433d8ff

Please sign in to comment.