From 9b3793e7ce029171b90a159d0c4d5f6120f2aa22 Mon Sep 17 00:00:00 2001 From: Adrien Leravat Date: Tue, 13 Aug 2024 21:27:08 -0700 Subject: [PATCH] ci: enable yarn caching for 'setup-node' --- .github/workflows/deploy.yml | 1 + .github/workflows/test-frontend.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 498129a..52fd712 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,6 +22,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'yarn' - name: 'Deploy to Vercel' env: diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index b5a9d53..7070ced 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -15,6 +15,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: '20' + cache: 'yarn' - name: Install dependencies run: yarn - name: Generate production build