File tree Expand file tree Collapse file tree 2 files changed +12
-10
lines changed
Expand file tree Collapse file tree 2 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 11name : CI
22on :
33 push :
4- branches-ignore :
5- - reactivity-v2
4+ branches : ["main"]
65 pull_request :
7- branches :
8- - main
6+ types : [opened, synchronize]
97jobs :
108 build :
119 name : Build
@@ -15,15 +13,18 @@ jobs:
1513 node : ["18", "20", "22"]
1614 steps :
1715 - uses : actions/checkout@v4
18- - name : Setup pnpm
19- uses : pnpm/action-setup@v3
20- with :
21- version : 9
2216 - uses : actions/setup-node@v4
2317 with :
2418 node-version : ${{ matrix.node }}
2519 cache : " pnpm"
26- - name : Install dependencies
27- run : pnpm install --frozen-lockfile
20+ - name : Setup pnpm
21+ uses : pnpm/action-setup@v4
22+ - name : Cache turbo setup
23+ uses : actions/cache@v4
24+ with :
25+ path : .turbo
26+ key : ${{ runner.os }}-turbo-${{ github.sha }}
27+ restore-keys : |
28+ ${{ runner.os }}-turbo-
2829 - name : Run CI with turbo
2930 run : pnpm run ci
Original file line number Diff line number Diff line change 11{
2+ "$schema" : " https://turbo.build/schema.json" ,
23 "tasks" : {
34 "turbo:build" : {
45 "dependsOn" : [" ^turbo:build" ],
You can’t perform that action at this time.
0 commit comments