Skip to content

Commit

Permalink
Use Bun in client github action
Browse files Browse the repository at this point in the history
Install dependencies and run build script with bun instead of pnpm

Signed-off-by: Brian Evans <ebrian101@gmail.com>
  • Loading branch information
mrbrianevans committed May 4, 2024
1 parent a50811a commit 0ffc6fb
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/build-client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,17 @@ on: # rebuild any PRs and any branch changes for the client directory
push:
paths:
- client-pure/**
- .github/workflows/build-client.yaml

jobs:
build-client:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v2.2.2
with:
version: 7
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "19"
cache: pnpm
cache-dependency-path: 'client-pure/pnpm-lock.yaml'
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: pnpm install
run: bun install --frozen-lockfile
working-directory: client-pure
- name: Build client with Vite
run: pnpm run build
run: bun run build
working-directory: client-pure

0 comments on commit 0ffc6fb

Please sign in to comment.