Skip to content

Commit

Permalink
chore: action fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xjq7 committed Oct 11, 2024
1 parent 00d5a1d commit 9b03bb1
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,10 @@ jobs:
with:
node-version: 14.20.0

- uses: pnpm/action-setup@v2.2.2
- uses: pnpm/action-setup@v4
with:
version: 6.0.2

- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Packages
run: pnpm install

Expand Down

0 comments on commit 9b03bb1

Please sign in to comment.