File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Markdown Lint
2
+
3
+ on :
4
+ push :
5
+ branches : [ main, develop, feature/* ]
6
+ pull_request :
7
+ branches : [ main ]
8
+
9
+ permissions : read-all
10
+
11
+ jobs :
12
+ build :
13
+
14
+ runs-on : ubuntu-latest
15
+
16
+ strategy :
17
+ matrix :
18
+ os : [ubuntu-latest]
19
+ node-version : [20.x]
20
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
21
+
22
+ steps :
23
+ - name : Checkout repository
24
+ uses : actions/checkout@v4
25
+
26
+ - name : Set up Node.js ${{ matrix.node-version }}
27
+ uses : actions/setup-node@v4
28
+ with :
29
+ node-version : ${{ matrix.node-version }}
30
+
31
+ - name : Install dependencies
32
+ run : npm install -g markdownlint-cli
33
+
34
+ - name : Lint
35
+ run : markdownlint '**/*.md' --ignore node_modules && echo '✔ Your code looks good.'
36
+
You can’t perform that action at this time.
0 commit comments