From 206126007d83cd101f6bfb1f0e65a7165a6347cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=20Erik=20St=C3=B8wer?= Date: Thu, 24 Aug 2023 13:18:32 +0200 Subject: [PATCH] fix: run prettier with node installation from image --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 14771ccb..b1e61a73 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -35,7 +35,7 @@ aliases: jobs: test: docker: - - image: cimg/openjdk:17.0.8 + - image: cimg/openjdk:17.0.8-node auth: username: $DOCKERHUB_LOGIN password: $DOCKERHUB_PASSWORD @@ -61,7 +61,7 @@ jobs: # Cannot use -o because of snapshot dependencies. - run: name: Run Maven verify - command: mvn verify -s .circleci/settings.xml + command: mvn verify -s .circleci/settings.xml -Dprettier.nodePath=node -Dprettier.npmPath=npm - run: *sonar-scan - run: name: Save test results @@ -82,7 +82,7 @@ jobs: - .circleci build: docker: - - image: cimg/openjdk:17.0.8 + - image: cimg/openjdk:17.0.8-node auth: username: $DOCKERHUB_LOGIN password: $DOCKERHUB_PASSWORD @@ -106,7 +106,7 @@ jobs: - ~/.m2 key: dep-cache-v2-{{ checksum "pom.xml" }} # Cannot use -o because of snapshot dependencies. - - run: mvn deploy -s .circleci/settings.xml -DskipTests + - run: mvn deploy -s .circleci/settings.xml -P prettierSkip -DskipTests - run: *post_build docker-build: docker: