Skip to content

Commit

Permalink
fix: run prettier with node installation from image
Browse files Browse the repository at this point in the history
  • Loading branch information
testower committed Aug 24, 2023
1 parent 044d979 commit 2061260
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 2061260

Please sign in to comment.