Add Checkstyle and Prettier to BFF #65
@ -17,11 +17,5 @@ jobs:
|
||||
distribution: temurin
|
||||
java-version: 25
|
||||
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
|
||||
run: ./mvnw validate --batch-mode
|
||||
|
||||
32
bff/pom.xml
32
bff/pom.xml
@ -86,6 +86,15 @@
|
||||
<prettierJavaVersion>2.8.1</prettierJavaVersion>
|
||||
</configuration>
|
||||
</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>
|
||||
</pluginManagement>
|
||||
<plugins>
|
||||
@ -102,6 +111,29 @@
|
||||
</execution>
|
||||
</executions>
|
||||
</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>
|
||||
<groupId>com.hubspot.maven.plugins</groupId>
|
||||
<artifactId>prettier-maven-plugin</artifactId>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user