diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2dba1ab..c911a99 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,9 +16,6 @@ jobs: runs-on: ubuntu-latest name: Build, Lint and Test Library steps: - - name: Check Permissions When Workflow Dispatch - id: check_admin - - name: Checkout uses: actions/checkout@v4 @@ -26,11 +23,17 @@ jobs: uses: pnpm/action-setup@v4 with: version: 10 - run_install: | - - recursive: true - args: [--frozen-lockfile] + run_install: false + + - name: Install Node.js + uses: actions/setup-node@v4 with: node-version: 22 + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Linting Library run: npm run lint