@@ -17,10 +17,12 @@ jobs:
17
17
fetch-depth : 0
18
18
ref : ${{ github.head_ref }}
19
19
repository : ${{github.event.pull_request.head.repo.full_name}}
20
-
20
+ - name : Setup pnpm
21
+
21
22
with :
22
23
version : 8
23
- - uses : actions/setup-node@v3
24
+ - name : Setup Node
25
+ uses : actions/setup-node@v3
24
26
with :
25
27
node-version : 18.16.0
26
28
cache : ' pnpm'
@@ -37,17 +39,21 @@ jobs:
37
39
fetch-depth : 0
38
40
ref : ${{ github.head_ref }}
39
41
repository : ${{github.event.pull_request.head.repo.full_name}}
40
-
42
+ - name : Setup pnpm
43
+
41
44
with :
42
45
version : 8
43
- - uses : actions/setup-node@v3
46
+ - name : Setup Node
47
+ uses : actions/setup-node@v3
44
48
with :
45
49
node-version : 18.16.0
46
50
cache : ' pnpm'
47
51
- name : Install dependencies
48
52
run : pnpm --filter "./packages/**" --filter query --prefer-offline install
49
- - name : Derive appropriate SHAs for base and head for `nx affected` commands
50
- uses : nrwl/nx-set-shas@v2
53
+ - name : Get appropriate base and head commits for `nx affected` commands
54
+ uses : nrwl/nx-set-shas@v3
55
+ with :
56
+ main-branch-name : ' alpha'
51
57
- run : |
52
58
echo "BASE: ${{ env.NX_BASE }}"
53
59
echo "HEAD: ${{ env.NX_HEAD }}"
@@ -74,10 +80,12 @@ jobs:
74
80
fetch-depth : 0
75
81
ref : ${{ github.head_ref }}
76
82
repository : ${{github.event.pull_request.head.repo.full_name}}
77
-
83
+ - name : Setup pnpm
84
+
78
85
with :
79
86
version : 8
80
- - uses : actions/setup-node@v3
87
+ - name : Setup Node
88
+ uses : actions/setup-node@v3
81
89
with :
82
90
node-version : 18.16.0
83
91
cache : ' pnpm'
0 commit comments