From 510e265a7c793003a8020d12e74b7369017902db Mon Sep 17 00:00:00 2001 From: nurRiyad Date: Thu, 13 Mar 2025 02:19:08 +0600 Subject: [PATCH] Update GitHub Actions workflow to use npm instead of pnpm for dependency installation and scripts --- .github/workflows/build.yml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 48c059f..744402a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean installation of node dependencies, check linting and build -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs - name: Node.js CI on: @@ -17,23 +14,20 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - uses: pnpm/action-setup@v4 - name: Install pnpm - - name: Install Node.js uses: actions/setup-node@v4 with: node-version: 22 - cache: 'pnpm' + cache: 'npm' - name: Install dependencies - run: pnpm install + run: npm ci - name: Check Linting - run: pnpm run lint + run: npm run lint - name: Check Format - run: pnpm run format + run: npm run format - name: Playgourd build check - run: pnpm run build + run: npm run build