From f9ae1335111f791d430f6a3dc04811988f4bc870 Mon Sep 17 00:00:00 2001 From: vchikalkin Date: Sat, 11 Jan 2025 12:29:51 +0300 Subject: [PATCH] fix: missing lockfile for npm(using pnpm now) --- .github/workflows/release.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d331374..c359c18 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,7 @@ on: jobs: release: runs-on: ubuntu-latest + steps: - name: Checkout code uses: actions/checkout@v3 @@ -15,14 +16,16 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v3 with: - node-version: 18 - cache: 'npm' + node-version: '18' + + - name: Install pnpm + run: npm install -g pnpm - name: Install dependencies - run: npm ci + run: pnpm install - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: npm run release + run: pnpm release