From 03b9293be4e9a20e97eaf2fe6dd4a57cdd59c93c Mon Sep 17 00:00:00 2001 From: Jewgeni Lewash Date: Fri, 16 Feb 2024 11:41:25 +0100 Subject: [PATCH] ci(release): update release action for pnpm --- .github/workflows/release.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a012c74..c40afe3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,15 +21,20 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Setup Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: 20 + - name: Setup pnpm + uses: pnpm/action-setup@v3 + with: + version: 8 + - name: Install dependencies run: pnpm ci @@ -39,4 +44,4 @@ jobs: - name: Semantic Release env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npx semantic-release + run: pnpx semantic-release