File tree 3 files changed +19
-17
lines changed
3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 1
- name : Lint PR
1
+ name : CI
2
2
on :
3
3
pull_request :
4
4
types : [opened, reopened, edited, synchronize]
@@ -14,14 +14,15 @@ jobs:
14
14
uses : actions/checkout@v3
15
15
16
16
- name : Setup pnpm
17
- uses : pnpm/action-setup@v2
17
+ uses : pnpm/action-setup@v4
18
18
with :
19
- version : 9
19
+ version : 9.6.0
20
+ run_install : false
20
21
21
- - name : Setting up node v18 .x
22
- uses : actions/setup-node@v3
22
+ - name : Install Node.js 20 .x
23
+ uses : actions/setup-node@v4
23
24
with :
24
- node-version : 18
25
+ node-version : 20
25
26
cache : " pnpm"
26
27
27
28
- name : Install workspace dependencies
Original file line number Diff line number Diff line change 1
- name : Test core selectors
1
+ name : Test
2
2
3
3
on :
4
4
push :
12
12
13
13
jobs :
14
14
test :
15
- name : Test scraping selectors
15
+ name : Main package
16
16
runs-on : ubuntu-latest
17
- permissions :
18
- contents : write
19
17
steps :
20
18
- name : Checkout
21
19
uses : actions/checkout@v3
22
20
21
+ # setup pnpm to specific version to avoid breaking changes
23
22
- name : Setup pnpm
24
- uses : pnpm/action-setup@v2
23
+ uses : pnpm/action-setup@v4
25
24
with :
26
- version : 8
25
+ version : 9.6.0
26
+ run_install : false
27
27
28
- - name : Setting up node v18.x
29
- uses : actions/setup-node@v3
28
+ # action was tested on node 20.x
29
+ - name : Install Node.js 20.x
30
+ uses : actions/setup-node@v4
30
31
with :
31
- node-version : 18
32
+ node-version : 20
32
33
cache : ' pnpm'
33
34
34
35
- name : Install dependencies
35
- run : pnpm install --no- frozen-lockfile
36
+ run : pnpm install --frozen-lockfile
36
37
37
38
- name : Build Package using tsup and turbo
38
39
run : pnpm run build --filter=google-sr --filter=google-sr-selectors
Original file line number Diff line number Diff line change 16
16
"node" : " >=15.0.0" ,
17
17
"pnpm" : " >=7"
18
18
},
19
- "packageManager" : " pnpm@8 .6.12 " ,
19
+ "packageManager" : " pnpm@9 .6.0 " ,
20
20
"devDependencies" : {
21
21
"@biomejs/biome" : " 1.8.3" ,
22
22
"@commitlint/cli" : " 19.3.0" ,
You can’t perform that action at this time.
0 commit comments