Skip to content

Commit 622a5ac

Browse files
author
John Doe
committed
chore: refine targets 4
1 parent 30fa5b3 commit 622a5ac

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/code-pushup.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,19 @@ jobs:
2626
steps:
2727
- name: Checkout repository
2828
uses: actions/checkout@v4
29+
with:
30+
fetch-depth: 0
2931
- name: Set up Node.js
3032
uses: actions/setup-node@v4
3133
with:
3234
node-version-file: .nvmrc
3335
cache: npm
3436
- name: Set base and head for Nx affected commands
37+
id: nx-set-shas
3538
uses: nrwl/nx-set-shas@v4
3639
- name: Install dependencies
3740
run: npm ci
3841
- name: Run Code PushUp action
3942
uses: code-pushup/github-action@v0
4043
with:
41-
bin: npx nx affected -t code-pushup --parallel=3 --
44+
bin: npx nx affected -t code-pushup --parallel=3 --base=${{ steps.nx-set-shas.outputs.base }} --head=${{ steps.nx-set-shas.outputs.head }} --

0 commit comments

Comments
 (0)