From 08feae666293f22ad259852806bee150e970144b Mon Sep 17 00:00:00 2001 From: Alex Whiteside Date: Mon, 16 Sep 2024 15:38:19 -0400 Subject: [PATCH] Update Test --- .github/workflows/build.yaml | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 14a976a..d5fdf86 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,7 +3,7 @@ on: push: jobs: - cache_checkout: + setup: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -18,18 +18,33 @@ jobs: cache: 'pnpm' - name: Install dependencies run: pnpm install + - name: Cache workspace + uses: actions/cache@v3 + with: + path: . + key: ${{ runner.os }}-workspace-${{ github.sha }} + build: + needs: setup runs-on: ubuntu-latest - needs: cache_checkout steps: + - name: Restore workspace + uses: actions/cache@v3 + with: + path: . + key: ${{ runner.os }}-workspace-${{ github.sha }} - name: Build run: pnpm build - test: + needs: setup runs-on: ubuntu-latest - needs: cache_checkout steps: + - name: Restore workspace + uses: actions/cache@v3 + with: + path: . + key: ${{ runner.os }}-workspace-${{ github.sha }} - name: Lint run: pnpm lint - name: Test