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/** - cypress/**
- mocks/** - mocks/**
env: env:
NODE_VERSION: 16 NODE_VERSION: 18
jobs: jobs:
analyze: analyze:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View file

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

View file

@ -5,7 +5,7 @@ on:
pull_request: pull_request:
branches: [main] branches: [main]
env: env:
NODE_VERSION: 16 NODE_VERSION: 18
jobs: jobs:
setup: setup:
runs-on: ubuntu-latest 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 ### 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: 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", "license": "Apache",
"engines": { "engines": {
"node": "16" "node": "^18"
}, },
"scripts": { "scripts": {
"build": "snowpack build", "build": "snowpack build",

View file

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