feat: remove node 16 (#875)

<!-- Please use this template for your pull request. -->
<!-- Please use the sections that you need and delete other sections -->

## This PR
<!-- add the description of the PR here -->

Removes Node 16 as it is deprecated.

Signed-off-by: Lukas Reining <lukas.reining@codecentric.de>
Co-authored-by: Todd Baert <todd.baert@dynatrace.com>
This commit is contained in:
Lukas Reining 2024-05-13 20:52:47 +02:00 committed by GitHub
parent 9083df8463
commit c1878e4eff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
8 changed files with 9 additions and 10 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 16 node-version: 18
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
cache: 'npm' cache: 'npm'

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
registry-url: 'https://registry.npmjs.org' registry-url: 'https://registry.npmjs.org'
node-version: 16 node-version: 18
cache: 'npm' cache: 'npm'
- name: Install - name: Install

View File

@ -16,7 +16,6 @@ jobs:
strategy: strategy:
matrix: matrix:
node-version: node-version:
- 16.x
- 18.x - 18.x
- 20.x - 20.x
@ -47,7 +46,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 16 node-version: 18
cache: 'npm' cache: 'npm'
- name: Install - name: Install
@ -80,4 +79,4 @@ jobs:
run: npm run build run: npm run build
- name: SDK e2e tests - name: SDK e2e tests
run: npm run e2e run: npm run e2e

View File

@ -61,7 +61,7 @@ jobs:
- name: Setup Node - name: Setup Node
uses: actions/setup-node@v4 uses: actions/setup-node@v4
with: with:
node-version: 16 node-version: 18
registry-url: "https://registry.npmjs.org" registry-url: "https://registry.npmjs.org"
cache: 'npm' cache: 'npm'
- name: Build Packages - name: Build Packages

View File

@ -33,7 +33,7 @@
}, },
"homepage": "https://github.com/open-feature/js-sdk#readme", "homepage": "https://github.com/open-feature/js-sdk#readme",
"engines": { "engines": {
"node": ">=16" "node": ">=18"
}, },
"devDependencies": { "devDependencies": {
"@rollup/plugin-typescript": "^11.1.6", "@rollup/plugin-typescript": "^11.1.6",

View File

@ -50,7 +50,7 @@ Capabilities include:
### Requirements ### Requirements
- Node.js version 16+ - Node.js version 18+
- NestJS version 8+ - NestJS version 8+
### Install ### Install

View File

@ -44,7 +44,7 @@
### Requirements ### Requirements
- Node.js version 16+ - Node.js version 18+
### Install ### Install

View File

@ -45,7 +45,7 @@
}, },
"homepage": "https://github.com/open-feature/js-sdk#readme", "homepage": "https://github.com/open-feature/js-sdk#readme",
"engines": { "engines": {
"node": ">=16" "node": ">=18"
}, },
"peerDependencies": { "peerDependencies": {
"@openfeature/core": "1.1.0" "@openfeature/core": "1.1.0"