Skip to content

Commit

Permalink
chore!: minimum supported Node.js version is 18.12.0 (#1694)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Dec 26, 2023
1 parent 244d9f8 commit e273d61
Show file tree
Hide file tree
Showing 25 changed files with 6,965 additions and 16,524 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ jobs:
group: lint-${{ matrix.os }}-v${{ matrix.node-version }}-${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [14.x, 16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
webpack-version: [latest]

runs-on: ${{ matrix.os }}
Expand All @@ -75,10 +75,10 @@ jobs:
cancel-in-progress: true

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const app = express();
app.use(
middleware(compiler, {
// webpack-dev-middleware options
})
}),
);

app.listen(3000, () => console.log("Example app listening on port 3000!"));
Expand Down Expand Up @@ -432,7 +432,7 @@ app.use(
"/dist/",
middleware(compiler, {
// webpack-dev-middleware options
})
}),
);

app.listen(3000, () => console.log("Example app listening on port 3000!"));
Expand Down
Loading

0 comments on commit e273d61

Please sign in to comment.