From 3521706a4596c077b86ad5a9d8578ea3e155da1a Mon Sep 17 00:00:00 2001 From: Ando <65276708+andostronaut@users.noreply.github.com> Date: Sun, 11 Aug 2024 21:16:02 +0300 Subject: [PATCH] feat: update gh build workflow to use pnpm --- .github/workflows/build.yaml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1c8e948..193fabc 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -10,22 +10,15 @@ jobs: matrix: node-version: - 20.13.1 - bun-version: - - 1.1.12 steps: - uses: actions/checkout@v3 + - uses: pnpm/action-setup@v4 + with: + version: 8 + run_install: false - uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - - uses: oven-sh/setup-bun@v1 - with: - bun-version: ${{ matrix.bun-version }} - - uses: actions/cache@v3 - with: - path: | - .next/cache - key: ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }} - restore-keys: | - ${{ runner.os }}-nextjs-${{ hashFiles('**/bun.lockb') }}- - - run: bun install + cache: 'pnpm' + - run: pnpm install