From 3620b709a9be82e0ecc4a746366ed075ccb0d8f7 Mon Sep 17 00:00:00 2001 From: Christian Bager Bach Houmann Date: Mon, 13 May 2024 20:30:42 +0200 Subject: [PATCH] ci: use bun --- .github/workflows/release.yml | 12 ++++++------ .github/workflows/test.yml | 11 ++++++----- bun.lockb | Bin 377734 -> 377734 bytes 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63d3560..d678488 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,23 +15,23 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v3 + - name: Setup Bun + uses: oven-sh/setup-bun@v1 with: - version: 7 + bun-version: latest - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: "pnpm" - name: Install dependencies run: | - pnpm install + bun install - name: Build run: | - pnpm run build --if-present + bun run build --if-present - name: Run tests run: | - pnpm run test + bun run test - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bb17d8f..e8085da 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,17 +13,18 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: pnpm/action-setup@v3 + - name: Install Bun + uses: oven-sh/setup-bun@v1 with: - version: 7 + bun-version: latest - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} - cache: "pnpm" + cache: "bun" - name: Install dependencies run: | - pnpm install + bun install - name: Run tests run: | - pnpm run test + bun run test diff --git a/bun.lockb b/bun.lockb index ea5547e1cfd3532e8a5a20f5b0b16ad41472215f..bc32f0267521ff4997d6fb9d5b6886d64fe7cfc2 100755 GIT binary patch delta 35 rcmZo`7jJ79Z)jm`VcNpH`8_9NoS~knp1H1J`=0mA+xNU@IdvHT<)scJ delta 35 lcmZo`7jJ79Z)jm`VcNpH`8_8S0~ECHdC$Ck&wG|rmjTRL3~&Gd