Upgrade to version 18 of Node.js (#2474)
This commit is contained in:
parent
02e3b97b7a
commit
c20c57f8aa
6 changed files with 6 additions and 6 deletions
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
|
@ -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
|
||||||
|
|
2
.github/workflows/cypress.yml
vendored
2
.github/workflows/cypress.yml
vendored
|
@ -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
|
||||||
|
|
||||||
|
|
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
},
|
},
|
||||||
"license": "Apache",
|
"license": "Apache",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": "16"
|
"node": "^18"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "snowpack build",
|
"build": "snowpack build",
|
||||||
|
|
|
@ -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",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue