Skip to content

Commit

Permalink
chore: use the official oven-sh/setup-bun in gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
RichAyotte committed Apr 5, 2024
1 parent 9a0398e commit daa8d5c
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,14 @@ on:

jobs:
test:
name: test
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
echo 'export PATH="$HOME/.bun/bin:$PATH"' >> $GITHUB_PATH
- name: Check Bun version
run: bun --version

- name: Install dependencies
run: bun install
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-version: "latest"

- name: Run tests
run: bun test
- run: bun --verison
- run: bun install
- run: bun test

0 comments on commit daa8d5c

Please sign in to comment.