File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ on : push
2
+
3
+ name : Lint
4
+
5
+ jobs :
6
+ lint :
7
+ name : Lint
8
+ runs-on : ubuntu-latest
9
+ timeout-minutes : 5
10
+
11
+ steps :
12
+ - name : Clone repository
13
+ uses : actions/checkout@v4
14
+ with :
15
+ submodules : ' recursive'
16
+
17
+ - name : Install dependencies
18
+ description : " Set up pnpm and install dependencies"
19
+
20
+ inputs :
21
+ node-version :
22
+ description : ' Node.js version'
23
+ required : false
24
+ default : 22.5.1
25
+
26
+ runs :
27
+ using : " composite"
28
+ steps :
29
+ - name : Set up pnpm
30
+ uses : pnpm/action-setup@v4
31
+
32
+ - name : Set up node
33
+ uses : actions/setup-node@v4
34
+ with :
35
+ cache : pnpm
36
+ node-version : ${{ inputs.node-version }}
37
+
38
+ - name : Install dependencies
39
+ shell : bash
40
+ run : pnpm install
41
+
42
+ - name : Lint code
43
+ run : pnpm lint
You can’t perform that action at this time.
0 commit comments