From 6b9c5d17751086be88b483e99fd0699135f6bee3 Mon Sep 17 00:00:00 2001 From: Heiko Holz Date: Tue, 15 Nov 2022 10:41:07 +0100 Subject: [PATCH] Fix configurationserver ui dependencies/yarn/node mismatch (#1541) * increase yarn and node version to fix compatibility issuesissues * add github action step to build configurationserver * change order of steps in github actions --- .github/workflows/configurationserver_test.yml | 5 ++++- components/inspectit-ocelot-configurationserver/build.gradle | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/configurationserver_test.yml b/.github/workflows/configurationserver_test.yml index 65cc812e5d..597cb68657 100644 --- a/.github/workflows/configurationserver_test.yml +++ b/.github/workflows/configurationserver_test.yml @@ -23,6 +23,9 @@ jobs: - name: assemble run: ../../gradlew assemble working-directory: ${{env.working-directory}} + - name: Build jar with frontend + working-directory: ${{env.working-directory}} + run: ../../gradlew bootJarWithFrontend - name: test run: ../../gradlew test - working-directory: ${{env.working-directory}} \ No newline at end of file + working-directory: ${{env.working-directory}} diff --git a/components/inspectit-ocelot-configurationserver/build.gradle b/components/inspectit-ocelot-configurationserver/build.gradle index 04f05a5ea3..d3b399c9d9 100644 --- a/components/inspectit-ocelot-configurationserver/build.gradle +++ b/components/inspectit-ocelot-configurationserver/build.gradle @@ -12,13 +12,13 @@ apply plugin: 'io.spring.dependency-management' node { // Version of node to use. - version = '12.16.1' + version = '12.22.0' // Version of npm to use. npmVersion = '6.13.4' // Version of Yarn to use. - yarnVersion = '1.16.0' + yarnVersion = '1.22.0' // If true, it will download node using above parameters. // If false, it will try to use globally installed node.