diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 63ef93e..bddaab0 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -44,4 +44,6 @@ jobs: repositories: '[{ "id": "sonatype", "url": "https://oss.sonatype.org/content/repositories/snapshots/", "releases": {"enabled": "false"}, "snapshots": {"enabled": "true" }}]' - name: Build with Maven - run: mvn -B -e verify + run: | + sed -i 's/build: "npm run build-no-test"/build: "npm run build"/g' ./src/main/resources/application.yaml && \ + mvn -B -e verify diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 15a5171..cef88c0 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -100,6 +100,7 @@ quarkus: install-env: strict-ssl: false install: "npm config set strict-ssl false && npm ci" + build: "npm run build-no-test" # These REST APIs are not needed to show in rest docs mp: diff --git a/src/main/webui/package.json b/src/main/webui/package.json index 82feadc..2077dac 100644 --- a/src/main/webui/package.json +++ b/src/main/webui/package.json @@ -65,6 +65,7 @@ "scripts": { "build-dev": "npm run clean && npm run compile-dev && npm run lint && npm run test && npm run deploy && cp ./src/content-browse/html/* ./dist/content-browse/", "build": "npm run clean && npm run compile && npm run test && npm run lint && npm run deploy && cp ./src/content-browse/html/* ./dist/content-browse/", + "build-no-test": "npm run clean && npm run compile && npm run deploy && cp ./src/content-browse/html/* ./dist/content-browse/", "clean": "rm -rf ./dist/*", "compile-dev": "NODE_ENV=development webpack --config ./webpack.config.js && webpack --config ./webpack-content-browse.dev.config.js", "compile": "NODE_ENV=production webpack --config ./webpack.config-prod.js && webpack --config ./webpack-content-browse.prod.config.js",