Skip to content

Commit

Permalink
ci: switch Yarn to Bun
Browse files Browse the repository at this point in the history
  • Loading branch information
metonym committed Apr 8, 2024
1 parent 369a4b0 commit b0b042b
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,18 @@ jobs:

steps:
- uses: actions/checkout@v4

- uses: actions/cache@v4
id: yarn-cache
- uses: oven-sh/setup-bun@v1
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
bun-version: 1.1.3

- name: Install dependencies
run: yarn install
run: bun install

- name: Build the library
run: yarn prepack
run: bun prepack

- name: Run unit tests
run: yarn test
run: bun test

# Only trigger deploy if previous steps pass and branch is main
- name: Deploy docs
Expand Down

0 comments on commit b0b042b

Please sign in to comment.