File tree 1 file changed +10
-6
lines changed
1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,16 @@ jobs:
14
14
with :
15
15
node-version : ' 14'
16
16
17
- - name : Prepare
18
- run : yarn global add lint-md-cli remark-cli remark-preset-lint-recommended fnlint
19
-
20
17
- name : Checkout
21
18
uses : actions/checkout@v2
22
19
20
+ # @coding-operation/public-component-web is a private package.
21
+ # remove all packages, or install would fail.
22
+ - name : Prepare
23
+ run : |
24
+ rm package.json yarn.lock
25
+ yarn add lint-md-cli remark-cli remark-preset-lint-recommended fnlint
26
+
23
27
- name : Get Diff Action
24
28
uses :
technote-space/[email protected]
25
29
with :
30
34
- name : Lint
31
35
if : env.GIT_DIFF
32
36
run : |
33
- remark -f ${{ env.GIT_DIFF }}
34
- lint-md ${{ env.GIT_DIFF }}
35
- fnlint -c .fnlint.json
37
+ yarn remark -f ${{ env.GIT_DIFF }}
38
+ yarn lint-md ${{ env.GIT_DIFF }}
39
+ yarn fnlint -c .fnlint.json
You can’t perform that action at this time.
0 commit comments