File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Lint starter files
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ tags : ['**']
8
+ pull_request :
9
+ types :
10
+ - opened
11
+ - reopened
12
+ - synchronize
13
+ - ready_for_review
14
+
15
+ jobs :
16
+ lint :
17
+ runs-on : ubuntu-latest
18
+ steps :
19
+ - uses : actions/checkout@v3
20
+ - name : Install Node.js
21
+ uses : actions/setup-node@v3
22
+ with :
23
+ node-version : 20
24
+ - uses : pnpm/action-setup@v3
25
+ name : Install pnpm
26
+ with :
27
+ version : 8
28
+ run_install : false
29
+ - name : Install dependencies
30
+ run : pnpm install
31
+ - name : Lint scripts
32
+ run : pnpm lint:script
33
+ - name : Lint styles
34
+ run : pnpm lint:style
Original file line number Diff line number Diff line change 9
9
"preview" : " nuxi preview" ,
10
10
"prepare" : " nuxi prepare" ,
11
11
"postinstall" : " nuxi prepare && husky install" ,
12
- "lint" : " yarn lint:script && yarn lint:style" ,
12
+ "lint" : " pnpm lint:script && pnpm lint:style" ,
13
13
"lint-fix" : " pnpm lint:script --fix && pnpm lint:style --fix" ,
14
14
"lint:script" : " eslint ." ,
15
15
"lint:style" : " stylelint \" **/*.{vue,css,scss}\" " ,
You can’t perform that action at this time.
0 commit comments