Skip to content

Commit a8df192

Browse files
committed
fix build branch checkout
1 parent 1eaf8e8 commit a8df192

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,11 @@ jobs:
9292
name: Test Build
9393
runs-on: ubuntu-latest
9494
steps:
95-
- *checkout-branch
95+
- name: Checkout Branch
96+
uses: actions/checkout@v4
97+
with:
98+
fetch-depth: ${{ github.event_name == 'pull_request' && 2 || 0 }}
99+
96100
- *setup-node
97101
- *install-node-packages
98102

0 commit comments

Comments
 (0)