@@ -17,10 +17,12 @@ jobs:
1717 fetch-depth : 0
1818 ref : ${{ github.head_ref }}
1919 repository : ${{github.event.pull_request.head.repo.full_name}}
20- 20+ - name : Setup pnpm
21+ 2122 with :
2223 version : 8
23- - uses : actions/setup-node@v3
24+ - name : Setup Node
25+ uses : actions/setup-node@v3
2426 with :
2527 node-version : 18.16.0
2628 cache : ' pnpm'
@@ -37,17 +39,21 @@ jobs:
3739 fetch-depth : 0
3840 ref : ${{ github.head_ref }}
3941 repository : ${{github.event.pull_request.head.repo.full_name}}
40- 42+ - name : Setup pnpm
43+ 4144 with :
4245 version : 8
43- - uses : actions/setup-node@v3
46+ - name : Setup Node
47+ uses : actions/setup-node@v3
4448 with :
4549 node-version : 18.16.0
4650 cache : ' pnpm'
4751 - name : Install dependencies
4852 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'
5157 - run : |
5258 echo "BASE: ${{ env.NX_BASE }}"
5359 echo "HEAD: ${{ env.NX_HEAD }}"
@@ -74,10 +80,12 @@ jobs:
7480 fetch-depth : 0
7581 ref : ${{ github.head_ref }}
7682 repository : ${{github.event.pull_request.head.repo.full_name}}
77- 83+ - name : Setup pnpm
84+ 7885 with :
7986 version : 8
80- - uses : actions/setup-node@v3
87+ - name : Setup Node
88+ uses : actions/setup-node@v3
8189 with :
8290 node-version : 18.16.0
8391 cache : ' pnpm'
0 commit comments