Skip to content

Commit

Permalink
build: change release action yarn to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
hqwuzhaoyi committed Aug 21, 2023
1 parent c9a8b10 commit d37300b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:

concurrency: ${{ github.workflow }}-${{ github.ref }}

env:
CI: true
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
release:
name: Release
Expand All @@ -20,8 +24,14 @@ jobs:
with:
node-version: 16

- name: install pnpm
run: npm i pnpm@latest -g

- name: setup pnpm config
run: pnpm config set store-dir $PNPM_CACHE_FOLDER

- name: Install Dependencies
run: yarn
run: pnpm install

- name: Create Release Pull Request
uses: changesets/action@v1
Expand Down

0 comments on commit d37300b

Please sign in to comment.