From 4b3f9d4bd189c064080c15d4f8bbbbdd67364f47 Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Wed, 16 Apr 2025 17:28:44 -0400 Subject: [PATCH] chore: use pnpm instead --- .github/workflows/releases.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index e04658a..69ad5bd 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -9,22 +9,26 @@ jobs: build: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: check out code + uses: actions/checkout@v4 + with: + ref: ${{ github.ref }} - - name: Fetch tags - run: git fetch --tags - - - name: Set up Node.js + - name: Install Node uses: actions/setup-node@v4 with: - node-version: '23' + node-version: '20.x' + registry-url: 'https://registry.npmjs.org' + + - uses: pnpm/action-setup@v4 + with: + version: 9 - name: Install dependencies - run: npm install + run: pnpm install --frozen-lockfile - name: Build project - run: npm run build + run: pnpm run build - name: Get version from package.json id: get_version