Skip to content

Commit

Permalink
chore: fix release workflow (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
morellodev authored May 3, 2024
1 parent 7a2676c commit 9ff0909
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,24 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 20
cache: "pnpm"

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: false

- name: Get pnpm Store Directory
shell: bash
run: |
echo "PNPM_STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm Cache
uses: actions/cache@v3
with:
path: ${{ env.PNPM_STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install Dependencies
run: pnpm install
Expand Down

0 comments on commit 9ff0909

Please sign in to comment.