Skip to content

Commit

Permalink
feat: #391 Update minimum node.js version to 18 (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkleszcz committed Sep 22, 2023
1 parent e8864e2 commit 3c0b8a1
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/actions/setup/action.yml
Expand Up @@ -3,7 +3,7 @@ description: ""
inputs:
node-version:
required: true
default: 18
default: 20
runs:
using: "composite"
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/infra.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
infra-lib-name:
- infra-core
- infra-shared
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/status-dashboard.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tools.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/webapp.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -77,7 +77,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
webapp-lib-name:
- webapp-core
- webapp-api-client
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workers.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [ 16, 18 ]
node-version: [ 18, 20 ]
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -67,7 +67,7 @@ The full list with the descriptions can be found in the [features documentation]
### Requirements

- Install [Docker](https://docs.docker.com/get-docker)
- Install [Node.js](https://nodejs.org/en/download/) version 16.14 or above (which can be checked by running `node -v`).
- Install [Node.js](https://nodejs.org/en/download/) version 18 or above (which can be checked by running `node -v`).
You can use [nvm](https://github.com/nvm-sh/nvm) or [n](https://github.com/tj/n) for managing multiple Node versions installed on a single machine.
- Install [pnpm](https://pnpm.io/installation) version 8.6 or above (which can be checked by running `pnpm --version`)
- (Windows only) Install [WSL 2](https://learn.microsoft.com/en-us/windows/wsl/install)
Expand Down
2 changes: 1 addition & 1 deletion packages/infra/infra-functions/serverless.yml
Expand Up @@ -4,7 +4,7 @@ frameworkVersion: '3'

provider:
name: aws
runtime: nodejs16.x
runtime: nodejs18.x
versionFunctions: false
stage: "${env:ENV_STAGE}"
region: "${env:AWS_REGION, env:AWS_DEFAULT_REGION}"
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/cli/package.json
Expand Up @@ -97,7 +97,7 @@
"version": "oclif readme && git add README.md"
},
"engines": {
"node": ">=12.0.0"
"node": ">=18.0.0"
},
"bugs": "https://github.com/apptension/saas-boilerplate/issues",
"keywords": [
Expand Down
@@ -1,7 +1,7 @@
### Requirements

- Install [Docker](https://docs.docker.com/get-docker)
- Install [Node.js](https://nodejs.org/en/download/) version 16.14 or above (which can be checked by running `node -v`).
- Install [Node.js](https://nodejs.org/en/download/) version 18 or above (which can be checked by running `node -v`).
- You can use [nvm](https://github.com/nvm-sh/nvm) or [n](https://github.com/tj/n) for managing multiple Node versions
installed on a single machine.
- Install [pnpm](https://pnpm.io/installation) version 8.6 or above (which can be checked by running `pnpm --version`)
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/local-ws-server/Dockerfile
@@ -1,4 +1,4 @@
FROM node:16-alpine
FROM node:20-alpine

WORKDIR /app

Expand Down

0 comments on commit 3c0b8a1

Please sign in to comment.