diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index af2d71d7..acd58c0c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,12 +9,25 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3.6.0 + with: + fetch-depth: 0 # Ensure full history is fetched + + - name: Cache Checkout and Setup-Node + uses: actions/cache@v3 + with: + path: | + ~/.npm + ~/.cache + ~/.local/share + key: initial-setup-${{ runner.os }} + restore-keys: | + initial-setup- - name: Setup Node uses: actions/setup-node@v3.8.2 with: node-version: "16" - + client_dependencies: needs: - setup_stage