summaryrefslogtreecommitdiff
path: root/.github/workflows/bun-ci.yml
diff options
context:
space:
mode:
authorZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:31:13 +0500
committerZaid-maker <53424436+Zaid-maker@users.noreply.github.com>2025-06-24 16:31:13 +0500
commit642c11fc9eb39bc9258e421920c41fc5f0579215 (patch)
treed103f588a60cf9396ff4851d1203e211ce3f927f /.github/workflows/bun-ci.yml
parent6a6ba8d0aecbf712fa5196b65e49f512666599e9 (diff)
downloadopencut-642c11fc9eb39bc9258e421920c41fc5f0579215.tar.gz
implement cache
Diffstat (limited to '.github/workflows/bun-ci.yml')
-rw-r--r--.github/workflows/bun-ci.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/bun-ci.yml b/.github/workflows/bun-ci.yml
index 62ece5b3..f3cdef4f 100644
--- a/.github/workflows/bun-ci.yml
+++ b/.github/workflows/bun-ci.yml
@@ -30,6 +30,12 @@ jobs:
with:
bun-version: 1.2.2
+ - name: Cache Bun modules
+ uses: actions/cache@v4
+ with:
+ path: ~/.bun/install/cache
+ key: ${{ runner.os }}-bun-${{ hashFiles('apps/web/bun.lockb') }}
+
- name: Install dependencies
working-directory: apps/web
run: bun install