From 37a06a7f4a5b2c0e702297b6a34e945ff34c0393 Mon Sep 17 00:00:00 2001 From: nikec Date: Mon, 9 Sep 2024 00:01:07 +0200 Subject: [PATCH] update release --- .github/workflows/release.yml | 30 ++++++++---------------------- 1 file changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0fc009c..970137a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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/action-setup@v2.2.4 + 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 @@ -43,7 +29,7 @@ jobs: - name: Create Release id: changeset - uses: changesets/action@v1.4.1 + uses: changesets/action@v1.4.8 with: commit: 'chore(release): 📦 version packages' title: 'chore(release): 📦 version packages'