diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index ff16f7a19..898a4729a 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -24,9 +24,15 @@ jobs: - name: Cache dependencies uses: actions/cache@v3 with: - path: | - ~/.npm - ./.cache + path: ~/.npm + key: ${{ runner.os }}-node-${{ hashFiles('**/package.json') }} + + - name: Cache dependencies + uses: actions/cache@v3 + with: + path: ./.cache + key: ${{ runner.os }}-eleventy-fetch-cache + - run: npm install - run: npm run build-ghpages