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 ea5547e..bc32f02 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index eaa83d3..3769aa0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "dev": "node esbuild.config.mjs", "lint": "eslint --ext .ts .", - "build": "tsc -noEmit -skipLibCheck && pnpm lint && node esbuild.config.mjs production", + "build": "tsc -noEmit -skipLibCheck && bun lint && node esbuild.config.mjs production", "version": "node version-bump.mjs && git add manifest.json versions.json", "semantic-release": "semantic-release", "test": "vitest --passWithNoTests" @@ -115,4 +115,4 @@ ] ] } -} +} \ No newline at end of file