Add Checkstyle and Prettier to BFF #65
@ -17,11 +17,5 @@ jobs:
|
|||||||
distribution: temurin
|
distribution: temurin
|
||||||
java-version: 25
|
java-version: 25
|
||||||
cache: maven
|
cache: maven
|
||||||
- uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 22
|
|
||||||
cache: npm
|
|
||||||
cache-dependency-path: bff/package-lock.json
|
|
||||||
- run: npm ci
|
|
||||||
- name: Run checkstyle and prettier
|
- name: Run checkstyle and prettier
|
||||||
run: ./mvnw validate --batch-mode
|
run: ./mvnw validate --batch-mode
|
||||||
|
|||||||
32
bff/pom.xml
32
bff/pom.xml
@ -86,6 +86,15 @@
|
|||||||
<prettierJavaVersion>2.8.1</prettierJavaVersion>
|
<prettierJavaVersion>2.8.1</prettierJavaVersion>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.eirslett</groupId>
|
||||||
|
<artifactId>frontend-maven-plugin</artifactId>
|
||||||
|
<version>2.0.0</version>
|
||||||
|
<configuration>
|
||||||
|
<nodeVersion>v22.13.0</nodeVersion>
|
||||||
|
<installDirectory>${project.build.directory}</installDirectory>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
</plugins>
|
</plugins>
|
||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
<plugins>
|
<plugins>
|
||||||
@ -102,6 +111,29 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>com.github.eirslett</groupId>
|
||||||
|
<artifactId>frontend-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>install-node-and-npm</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>install-node-and-npm</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>npm-install</id>
|
||||||
|
<phase>validate</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>npm</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<arguments>install</arguments>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.hubspot.maven.plugins</groupId>
|
<groupId>com.hubspot.maven.plugins</groupId>
|
||||||
<artifactId>prettier-maven-plugin</artifactId>
|
<artifactId>prettier-maven-plugin</artifactId>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user