From f94480c2d701ee511ab2a1ee78b1b402c2b49a23 Mon Sep 17 00:00:00 2001 From: vahid Date: Wed, 28 Aug 2024 22:05:40 +0330 Subject: [PATCH] change ci cd installing of pnpm --- .github/workflows/cd.yml | 4 ++-- .github/workflows/ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 2841479..d340d8b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Setup pnpm - uses: pnpm/action-setup@v4 - name: Use Node.js uses: actions/setup-node@v2 with: node-version: '20' + - name: Setup pnpm + run: npm install -g pnpm - run: pnpm install - run: pnpm run ci - uses: actions/upload-artifact@v2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c9c667f..4395c97 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Setup pnpm - uses: pnpm/action-setup@v4 - name: Use Node.js uses: actions/setup-node@v2 with: node-version: '20' + - name: Setup pnpm + run: npm install -g pnpm - run: pnpm install - run: pnpm run ci - uses: actions/upload-artifact@v2