From acf99f5c1901c9f315e99da251b42f787043733f Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Mon, 15 Jul 2024 19:05:11 +0100 Subject: [PATCH] chore: update workflow --- .github/workflows/pr.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b180456f..53bd0eb9 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -20,14 +20,17 @@ jobs: OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} steps: - - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Fetch all history for all branches and tags - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: 20 - name: Setup bun - uses: oven-sh/setup-bun@v1 + uses: oven-sh/setup-bun@v2 with: bun-version: latest