From 4e0805b64428be693bd4f684b8fbc94e04471019 Mon Sep 17 00:00:00 2001 From: Viktor Podzigun Date: Sat, 6 May 2023 20:20:24 +0200 Subject: [PATCH] Cached dependencies for bun ci --- .github/workflows/ci_bun.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci_bun.yml b/.github/workflows/ci_bun.yml index 12f229a..0bc0086 100644 --- a/.github/workflows/ci_bun.yml +++ b/.github/workflows/ci_bun.yml @@ -23,6 +23,16 @@ jobs: with: bun-version: "0.5.9" + - name: Cache Dependencies + uses: actions/cache@v3 + with: + path: | + ~/.bun/install/cache + ~/work/farjs-ui/farjs-ui/bun.lockb + key: ${{ runner.os }}-bun-cache-v3-${{ hashFiles('**/bun.lockb') }} + restore-keys: | + ${{ runner.os }}-bun-cache-v3- + - name: Run tests run: | bun install