Skip to content

Commit 6829bc2

Browse files
committed
Add markdown to build/verify
Signed-off-by: Leo Siepel <[email protected]>
1 parent 83bb20a commit 6829bc2

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

pom.xml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,47 @@ Import-Package: \\
589589
</execution>
590590
</executions>
591591
</plugin>
592+
<plugin>
593+
<groupId>com.github.eirslett</groupId>
594+
<artifactId>frontend-maven-plugin</artifactId>
595+
<version>1.15.0</version>
596+
<executions>
597+
<!-- Install Node.js and npm -->
598+
<execution>
599+
<id>install-node-and-npm</id>
600+
<goals>
601+
<goal>install-node-and-npm</goal>
602+
</goals>
603+
<configuration>
604+
<nodeVersion>v20.11.0</nodeVersion>
605+
<npmVersion>10.2.5</npmVersion>
606+
</configuration>
607+
</execution>
608+
609+
<!-- Install markdownlint-cli -->
610+
<execution>
611+
<id>npm-install-markdownlint</id>
612+
<goals>
613+
<goal>npm</goal>
614+
</goals>
615+
<configuration>
616+
<arguments>install markdownlint-cli --no-save</arguments>
617+
</configuration>
618+
</execution>
619+
620+
<!-- Run markdownlint during verify -->
621+
<execution>
622+
<id>run-markdownlint</id>
623+
<goals>
624+
<goal>npm</goal>
625+
</goals>
626+
<phase>verify</phase>
627+
<configuration>
628+
<arguments>exec markdownlint "**/*.md" -c .github/markdownlint.json</arguments>
629+
</configuration>
630+
</execution>
631+
</executions>
632+
</plugin>
592633
</plugins>
593634
</pluginManagement>
594635

0 commit comments

Comments
 (0)