Skip to content

Commit

Permalink
feat: update gh build workflow to use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
andostronaut committed Aug 11, 2024
1 parent a1c1f48 commit 3521706
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 3521706

Please sign in to comment.