From fbf2257b2716475fdd5b2fab69f1b920a5a1d66f Mon Sep 17 00:00:00 2001 From: Baek2back Date: Tue, 2 Jul 2024 00:08:55 +0900 Subject: [PATCH] ci(changesets): convert npm to bun --- .github/workflows/release.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a28f2b6..5d0de71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,22 +11,25 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 - with: - fetch-depth: 0 + uses: actions/checkout@v4 - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: 20 + - name: Setup bun + uses: oven-sh/setup-bun@v1 + with: + bun-version: latest + - name: Install Dependencies - run: npm ci + run: bun install --frozen-lockfile - name: Create Release Pull Request or Publish to npm uses: changesets/action@v1 with: - publish: npm run release + publish: bun run release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file