From 11760a428b32310117249ec4b9afbe1dddfde9d0 Mon Sep 17 00:00:00 2001 From: Arvin Xu Date: Tue, 12 Sep 2023 22:44:30 +0800 Subject: [PATCH] :wrench: chore: update release ci with bun (#193) --- .github/workflows/release.yml | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a44a06a99358..d5ace2216f995 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,27 +11,20 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install pnpm - uses: pnpm/action-setup@v2 - with: - version: 8 - - - name: Setup Node.js environment - uses: actions/setup-node@v3 - with: - node-version: '18' + - name: Install bun + uses: oven-sh/setup-bun@v1 - name: Install deps - run: pnpm install + run: bun i - name: Lint - run: pnpm run lint + run: bun run lint - name: Test - run: pnpm run test + run: bun run test - name: release - run: pnpm run release + run: bun run release env: GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}