Skip to content

Commit

Permalink
Update workflow to use bun instead of pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
AmoabaKelvin committed Feb 21, 2024
1 parent 055b6fe commit 06e48b5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,16 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: oven-sh/setup-bun@v1
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile
run: bun install

- name: Type check and lint
run: pnpm run typecheck && pnpm run lint
run: bun run typecheck && bun run lint
env:
# use dummy env variables to bypass t3-env check
DATABASE_URL: mysql://test:xxxx@xxxxxxxxx:3306/test
Expand Down

0 comments on commit 06e48b5

Please sign in to comment.