Skip to content

Commit

Permalink
Merge pull request #221 from entur/use-img-with-node
Browse files Browse the repository at this point in the history
fix: run prettier with node installation from image
  • Loading branch information
testower authored Aug 24, 2023
2 parents 044d979 + 2061260 commit cc883f7
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 cc883f7

Please sign in to comment.