]> source.dussan.org Git - gitea.git/commitdiff
Run markdownlint on drone, fix lint issue (#25040)
authorsilverwind <me@silverwind.io>
Thu, 1 Jun 2023 15:34:40 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Thu, 1 Jun 2023 15:34:40 +0000 (10:34 -0500)
It currently does not run on 1.19 branch, resulting in lint error having
landed in https://github.com/go-gitea/gitea/pull/25016.

.drone.yml
docs/content/doc/packages/cran.zh-cn.md

index f1432b9c74e9492395de9a30dd6f1f4662c6cd67..1314352432a97414545f5cdbaf8e0a4624d5d9cb 100644 (file)
@@ -963,6 +963,12 @@ trigger:
       - docs/**
 
 steps:
+  - name: lint-docs
+    image: node:18
+    commands:
+      - make deps-frontend
+      - make lint-frontend
+
   - name: build-docs
     image: golang:1.20
     commands:
index 2823c948ca4e2b162e915ad651a5083d39471bf7..fec9a56feb19dc5e71fd666e66708119ba9adb0c 100644 (file)
@@ -90,4 +90,4 @@ install.packages("{package_name}")
 
 ```shell
 install.packages("testpackage")
-```
\ No newline at end of file
+```