diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d4a622c..eb8f8aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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