File tree Expand file tree Collapse file tree 1 file changed +13
-30
lines changed Expand file tree Collapse file tree 1 file changed +13
-30
lines changed Original file line number Diff line number Diff line change 1
1
name : ci
2
2
3
- on :
4
- push :
5
- branches :
6
- - main
7
- - master
8
- pull_request :
9
- branches :
10
- - main
11
- - master
3
+ on : push
12
4
13
5
jobs :
14
6
ci :
15
- runs-on : ${{ matrix.os }}
16
-
17
- strategy :
18
- matrix :
19
- os : [ubuntu-latest]
20
- node : [14]
7
+ runs-on : ubuntu-latest
21
8
22
9
steps :
23
- - name : Checkout π
24
- uses : actions/checkout@master
10
+ - name : Checkout
11
+ uses : actions/checkout@v4
25
12
26
- - name : Setup node env π
27
- uses : actions/setup-node@v2.1.5
13
+ - name : Setup node
14
+ uses : actions/setup-node@v4
28
15
with :
29
- node-version : ${{ matrix.node }}
30
-
31
- - name : Install dependencies π¨π»βπ»
32
- run : npm install
16
+ node-version : 20
33
17
34
- - name : Run build π
35
- run : npm run build
36
-
37
- - name : Run linter π
38
- run : npm run lint
18
+ - name : Setup pnpm
19
+ uses : pnpm/action-setup@v3
20
+ with :
21
+ version : 8
39
22
40
- - name : Run tests π
41
- run : npm run test
23
+ - name : Run check π
24
+ run : pnpm run check
You canβt perform that action at this time.
0 commit comments