Skip to content

Commit

Permalink
update release
Browse files Browse the repository at this point in the history
  • Loading branch information
niikeec committed Sep 8, 2024
1 parent 01d4f17 commit 37a06a7
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use PNPM
uses: pnpm/[email protected]
uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- name: Setup pnpm
uses: pnpm/action-setup@v4

- name: Setup pnpm cache
uses: actions/cache@v3
- name: Setup Node
uses: actions/setup-node@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
node-version: 20
cache: pnpm

- name: Install dependencies
run: pnpm install
Expand All @@ -43,7 +29,7 @@ jobs:

- name: Create Release
id: changeset
uses: changesets/[email protected].1
uses: changesets/[email protected].8
with:
commit: 'chore(release): 📦 version packages'
title: 'chore(release): 📦 version packages'
Expand Down

0 comments on commit 37a06a7

Please sign in to comment.