File tree Expand file tree Collapse file tree 6 files changed +219
-136
lines changed
Expand file tree Collapse file tree 6 files changed +219
-136
lines changed Original file line number Diff line number Diff line change 1+ name : Install Tools & Dependencies
2+ description : Installs pnpm, Node.js & package dependencies
3+
4+ runs :
5+ using : composite
6+ steps :
7+ - name : Setup pnpm
8+ uses : pnpm/action-setup@v4
9+ with :
10+ version : 9
11+ run_install : false
12+
13+ - name : Setup Node.js
14+ uses : actions/setup-node@v4
15+ with :
16+ node-version : 20
17+ cache : pnpm
18+
19+ - name : Install dependencies
20+ run : pnpm install
21+ shell : bash
Original file line number Diff line number Diff line change @@ -12,18 +12,12 @@ jobs:
1212 build :
1313 runs-on : ubuntu-latest
1414 steps :
15- - name : Checkout repository
15+ - name : Check out code
1616 uses : actions/checkout@v4
17- - uses : pnpm/action-setup@v3
18- with :
19- version : 8
20- - name : Setup Node.js
21- uses : actions/setup-node@v4
22- with :
23- node-version : 20.x
24- cache : pnpm
25- - name : Install dependencies
26- run : pnpm i
17+
18+ - name : Install tools & dependencies
19+ uses : ./.github/actions/install
20+
2721 - name : Sync Orama
2822 run : pnpm sync:orama
2923 env :
Original file line number Diff line number Diff line change @@ -2,70 +2,37 @@ name: 🔍 Lint / Type Checks
22
33on :
44 push :
5- branches : [main]
5+ branches :
6+ - main
7+
68 pull_request :
7- branches : [main]
9+ branches :
10+ - main
811
912jobs :
10- setup :
11- runs-on : ubuntu-latest
12- steps :
13- - uses : actions/checkout@v4
14- - uses : pnpm/action-setup@v4
15- with :
16- version : 9
17- - uses : actions/setup-node@v4
18- with :
19- node-version : " 20"
20- cache : " pnpm"
21- - run : pnpm i
22- - uses : actions/cache/save@v4
23- with :
24- path : |
25- node_modules
26- ~/.pnpm-store
27- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
28-
2913 typecheck :
30- needs : setup
3114 runs-on : ubuntu-latest
3215 steps :
33- - uses : actions/checkout@v4
34- - uses : pnpm/action-setup@v4
35- with :
36- version : 9
37- - uses : actions/setup-node@v4
38- with :
39- node-version : " 20"
40- cache : " pnpm"
41- - uses : actions/cache/restore@v4
42- with :
43- path : |
44- node_modules
45- ~/.pnpm-store
46- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
16+ - name : Check out code
17+ uses : actions/checkout@v4
18+
19+ - name : Install tools & dependencies
20+ uses : ./.github/actions/install
21+
4722 - name : Generate virtual modules
4823 run : pnpm sync
24+
4925 - name : TypeScript check
5026 run : pnpm check:types
5127
5228 lint :
53- needs : setup
5429 runs-on : ubuntu-latest
5530 steps :
56- - uses : actions/checkout@v4
57- - uses : pnpm/action-setup@v4
58- with :
59- version : 9
60- - uses : actions/setup-node@v4
61- with :
62- node-version : " 20"
63- cache : " pnpm"
64- - uses : actions/cache/restore@v4
65- with :
66- path : |
67- node_modules
68- ~/.pnpm-store
69- key : ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
70- - name : ESLint check
31+ - name : Check out code
32+ uses : actions/checkout@v4
33+
34+ - name : Install tools & dependencies
35+ uses : ./.github/actions/install
36+
37+ - name : Lint code
7138 run : pnpm check:lint
Original file line number Diff line number Diff line change 1919 },
2020 "dependencies" : {
2121 "@kobalte/core" : " ^0.13.9" ,
22- "@kobalte/solidbase" : " ^0.0.16 " ,
22+ "@kobalte/solidbase" : " ^0.0.24 " ,
2323 "@lunariajs/core" : " ^0.0.31" ,
2424 "@oramacloud/client" : " ^1.3.15" ,
2525 "@solid-primitives/event-listener" : " ^2.3.3" ,
5959 },
6060 "engines" : {
6161 "node" : " >=18" ,
62- "packageManager " : " pnpm@8 "
62+ "pnpm " : " >=9 "
6363 }
6464}
You can’t perform that action at this time.
0 commit comments