File tree Expand file tree Collapse file tree 1 file changed +30
-19
lines changed Expand file tree Collapse file tree 1 file changed +30
-19
lines changed Original file line number Diff line number Diff line change 1
- name : Linting
1
+ name : CI
2
2
3
3
on :
4
4
push :
5
5
branches :
6
- - ' **'
6
+ - main
7
+
8
+ pull_request :
9
+ branches :
10
+ - main
7
11
8
12
jobs :
9
13
ci :
10
- runs-on : ${{ matrix.os }}
11
-
12
- strategy :
13
- matrix :
14
- os : [ubuntu-latest]
15
- node : [18]
14
+ name : Eslint
15
+ runs-on : ubuntu-latest
16
16
17
17
steps :
18
- - uses : actions/checkout@v3
19
- - name : Use Node.js ${{ matrix.node-version }}
20
- uses : actions/setup-node@v3
18
+ - name : Checkout
19
+ uses : actions/checkout@v4
20
+
21
+ - name : Install Node.js
22
+ uses : actions/setup-node@v4
23
+ with :
24
+ node-version : 20
25
+
26
+ - name : Install pnpm
27
+ uses : pnpm/action-setup@v3
21
28
with :
22
- node-version : ${{ matrix.node-version }}
29
+ version : 8
30
+
23
31
- name : Install dependencies
24
- run : yarn install
25
- - name : Prettier
26
- run : yarn run format
27
- - name : Eslint
28
- run : yarn run lint
29
- - name : Type check
30
- run : yarn run type:check
32
+ run : pnpm install
33
+
34
+ - name : Perform linting
35
+ run : pnpm run lint
36
+
37
+ - name : Perform prettifying
38
+ run : pnpm run format
39
+
40
+ - name : Perform type checking
41
+ run : pnpm run type:check
You can’t perform that action at this time.
0 commit comments