Skip to content

Commit

Permalink
ci: trying to fix pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopr committed Jun 10, 2023
1 parent 234a8cc commit 7bcbd68
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,30 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm i
run: pnpm install

- name: Semantic release
env:
Expand Down

0 comments on commit 7bcbd68

Please sign in to comment.