From ec8c08635a421de35024942c63035893ff040f1d Mon Sep 17 00:00:00 2001 From: Rafael <43618377+HeyyCzer@users.noreply.github.com> Date: Sat, 1 Mar 2025 20:15:04 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20add=20cache=20to=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.js.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deploy.js.yml b/.github/workflows/deploy.js.yml index fe6a316..4597e6c 100644 --- a/.github/workflows/deploy.js.yml +++ b/.github/workflows/deploy.js.yml @@ -16,6 +16,17 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 + - name: Cache node modules + id: cache-bun + uses: actions/cache@v4 + env: + cache-name: cache-node-modules + with: + path: ~/.bun/install/cache + key: ${{ runner.os }}-${{ matrix.bun }}-bun-${{ hashFiles('**/bun.lockb') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.bun }}-bun- + - uses: oven-sh/setup-bun@v2 - name: Install dependencies