Skip to content

✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.

fix: streamline pnpm caching in deployment workflow

AykutSarac3d0d4ec1e347
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index 59b35bf5..f8260f09 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -28,6 +28,8 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: "24.10.0"
+ cache: pnpm
+ cache-dependency-path: pnpm-lock.yaml
- uses: pnpm/action-setup@v4
name: Install pnpm
@@ -35,19 +37,6 @@ jobs:
version: 10.10.0
run_install: false
- - name: Get pnpm store directory
- shell: bash
- run: |
- echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
-
- - uses: actions/cache@v4
- name: Setup pnpm cache
- with:
- path: ${{ env.STORE_PATH }}
- key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
- restore-keys: |
- ${{ runner.os }}-pnpm-store-
-
- name: Setup Pages
uses: actions/configure-pages@v4
with:
@@ -92,4 +81,3 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
-