Skip to content

Commit

Permalink
PNPM Action Cache test
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeAspy committed May 19, 2024
1 parent 469aa7c commit fb68016
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,21 @@ jobs:
- uses: pnpm/action-setup@v4
with:
version: latest


- 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: Install Node.js dependencies
run: pnpm install

Expand Down

0 comments on commit fb68016

Please sign in to comment.