From a5aab8be5ea26e301ee99346ba64b8fcd20916e0 Mon Sep 17 00:00:00 2001 From: Candid Dauth Date: Thu, 7 Dec 2023 19:45:20 +0100 Subject: [PATCH] Attempt to cache yarn dependencies in GitHub cache --- .github/workflows/docker-vue3.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/docker-vue3.yml b/.github/workflows/docker-vue3.yml index 1e9d57d5..8e82c746 100644 --- a/.github/workflows/docker-vue3.yml +++ b/.github/workflows/docker-vue3.yml @@ -13,6 +13,17 @@ jobs: - name: Checkout uses: actions/checkout@v4 + + # Run yarn install to store dependencies in the GitHub cache + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: '21' + cache: 'yarn' + - name: Install project dependencies + run: yarn + + # Build docker image - name: Set up QEMU uses: docker/setup-qemu-action@v3