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 1
1
name : CI
2
2
on :
3
3
push :
4
- branches-ignore :
5
- - reactivity-v2
4
+ branches : ["main"]
6
5
pull_request :
7
- branches :
8
- - main
6
+ types : [opened, synchronize]
9
7
jobs :
10
8
build :
11
9
name : Build
@@ -15,15 +13,18 @@ jobs:
15
13
node : ["18", "20", "22"]
16
14
steps :
17
15
- uses : actions/checkout@v4
18
- - name : Setup pnpm
19
- uses : pnpm/action-setup@v3
20
- with :
21
- version : 9
22
16
- uses : actions/setup-node@v4
23
17
with :
24
18
node-version : ${{ matrix.node }}
25
19
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-
28
29
- name : Run CI with turbo
29
30
run : pnpm run ci
Original file line number Diff line number Diff line change 1
1
{
2
+ "$schema" : " https://turbo.build/schema.json" ,
2
3
"tasks" : {
3
4
"turbo:build" : {
4
5
"dependsOn" : [" ^turbo:build" ],
You can’t perform that action at this time.
0 commit comments