File tree Expand file tree Collapse file tree 1 file changed +23
-25
lines changed Expand file tree Collapse file tree 1 file changed +23
-25
lines changed Original file line number Diff line number Diff line change 1
- name : Typescript Client CI
1
+ name : ci
2
2
on :
3
3
push :
4
- branches : [ main ]
4
+ branches : [main]
5
5
pull_request :
6
- branches : [ main ]
6
+ branches : [main]
7
7
jobs :
8
- build :
8
+ check :
9
9
runs-on : ubuntu-latest
10
- strategy :
11
- matrix :
12
- node-version : [22.x]
13
10
steps :
14
- - name : Checkout
15
- uses : actions/checkout@v4
16
- - name : Install pnpm
17
- uses : pnpm/action-setup@v2
18
- with :
19
- version : 8
20
- - name : Use Node.js ${{ matrix.node-version }}
21
- uses : actions/setup-node@v4
22
- with :
23
- node-version : ${{ matrix.node-version }}
24
- cache : ' pnpm'
25
- cache-dependency-path : pnpm-lock.json
26
- - name : Install dependencies
27
- run : pnpm install
28
- - name : Run lint
29
- run : pnpm run lint
30
- - name : Run build
31
- run : pnpm run build
11
+ - uses : actions/checkout@v4
12
+
13
+ - uses : pnpm/action-setup@v3
14
+ with :
15
+ version : 9.4.0
16
+
17
+ - uses : actions/setup-node@v4
18
+ with :
19
+ node-version : " 23"
20
+ cache : " pnpm"
21
+
22
+ - name : Install dependencies
23
+ run : pnpm install -r --no-frozen-lockfile
24
+
25
+ - name : Run lint and fix
26
+ run : pnpm run lint:fix
27
+
28
+ - name : Build packages
29
+ run : pnpm run build
You can’t perform that action at this time.
0 commit comments