diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 103a5d30..d5fc84e2 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -20,8 +20,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: latest - - name: Install node modules - run: npm --prefix svelte_sprinkles install + cache: "npm" + cache-dependency-path: svelte_sprinkles/package-lock.json - name: Setup Pages id: pages uses: actions/configure-pages@v5 diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index fb88de5b..b096c858 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -41,8 +41,8 @@ jobs: uses: actions/setup-node@v4 with: node-version: latest - - name: Install node modules - run: npm --prefix svelte_sprinkles install + cache: "npm" + cache-dependency-path: svelte_sprinkles/package-lock.json - name: Setup Pages id: pages uses: actions/configure-pages@v5