Skip to content

Commit

Permalink
fix: publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
JiLiZART committed Oct 23, 2023
1 parent 3ee56e3 commit 2f3645b
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,27 @@ jobs:
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install Dependencies
run: npm ci
- name: Install PNPM
uses: pnpm/action-setup@v2
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v3
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 dependencies
run: pnpm install --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down

0 comments on commit 2f3645b

Please sign in to comment.