Skip to content

Commit ca6f89d

Browse files
feat: update to node 20 (#470)
as node 18 is only in maintenance mode and node 20 is the active one, I suggest to go for 20. node 22 has been released some days ago, but it is too early to go for it at the moment in my opinion
1 parent 3c141ab commit ca6f89d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

β€Ž.github/workflows/code-quality.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node: [18, 20, 'lts/*']
20+
node: [20, 22, 'lts/*']
2121

2222
steps:
2323
- uses: actions/checkout@v3

β€Ž.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848

4949
- uses: actions/setup-node@v3
5050
with:
51-
node-version: 18
51+
node-version: 20
5252

5353
- uses: pnpm/action-setup@v2
5454
name: Install pnpm

β€ŽDockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:18-alpine AS base
1+
FROM node:20-alpine AS base
22
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
33
RUN apk add --no-cache libc6-compat
44
RUN apk add --no-cache git

β€ŽREADME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ A live read-only demonstration of what you will have when starting a project wit
2323

2424
## Requirements
2525

26-
- [NodeJS](https://nodejs.org/) >=18
26+
- [NodeJS](https://nodejs.org/) >=20
2727
- [Pnpm](https://pnpm.io/)
2828
- [Docker](https://www.docker.com/) (or a [PostgreSQL](https://www.postgresql.org/) database)
2929

β€Žpackage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "2.0.0",
55
"description": "Opinionated UI starter with βš›οΈ React, ⚑️ Chakra UI, βš›οΈ React Query & πŸ“‹ React Hook Form β€” From the 🐻 BearStudio Team",
66
"engines": {
7-
"node": ">=18"
7+
"node": ">=20"
88
},
99
"scripts": {
1010
"prepare": "husky",

0 commit comments

Comments
Β (0)