Upgrade to version 18 of Node.js (#2474)

This commit is contained in:
Jon Koops 2022-04-21 16:52:49 +02:00 committed by GitHub
parent 02e3b97b7a
commit c20c57f8aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,7 @@ on:
- cypress/**
- mocks/**
env:
NODE_VERSION: 16
NODE_VERSION: 18
jobs:
analyze:
runs-on: ubuntu-latest

View file

@ -70,7 +70,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
check-latest: true
cache: npm

View file

@ -5,7 +5,7 @@ on:
pull_request:
branches: [main]
env:
NODE_VERSION: 16
NODE_VERSION: 18
jobs:
setup:
runs-on: ubuntu-latest

View file

@ -6,7 +6,7 @@ This project is the next generation of the Keycloak Administration UI. It is wri
### Prerequisites
Make sure that you have Node.js version 16 (or later) installed on your system. If you do not have Node.js installed we recommend using [Node Version Manager](https://github.com/nvm-sh/nvm) to install it.
Make sure that you have Node.js version 18 (or later) installed on your system. If you do not have Node.js installed we recommend using [Node Version Manager](https://github.com/nvm-sh/nvm) to install it.
You can find out which version of Node.js you are using by running the following command:

View file

@ -9,7 +9,7 @@
},
"license": "Apache",
"engines": {
"node": "16"
"node": "^18"
},
"scripts": {
"build": "snowpack build",

View file

@ -12,7 +12,7 @@ await importClient();
async function importClient() {
const adminClient = new KcAdminClient.default({
baseUrl: "http://localhost:8180",
baseUrl: "http://127.0.0.1:8180",
realmName: "master",
});