From 37d74d99e50be10bbf3df1b68080a24f60a1ac06 Mon Sep 17 00:00:00 2001 From: Raul de Melo Date: Fri, 8 Dec 2023 10:10:55 -0300 Subject: [PATCH] fix release workflow --- .github/workflows/app.yml | 4 ++-- .github/workflows/release.yml | 26 ++++++-------------------- 2 files changed, 8 insertions(+), 22 deletions(-) diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml index 69f46ec..5562461 100644 --- a/.github/workflows/app.yml +++ b/.github/workflows/app.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout to repository - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 - name: Setup Bun uses: oven-sh/setup-bun@v1 @@ -15,7 +15,7 @@ jobs: bun-version: 1.0.15 - name: Install Dependencies - run: bun install + run: bun install --frozen-lockfile # Necessary because it's being used in the code - name: Linting/Formating diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6b2114..97e2441 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,33 +13,19 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.1 - - uses: pnpm/action-setup@v2.2.4 - name: Install pnpm + - name: Setup Bun + uses: oven-sh/setup-bun@v1 with: - version: 8 - run_install: false - - - name: Get pnpm store directory - id: pnpm-cache - run: | - echo "::set-output name=pnpm_cache_dir::$(pnpm store path)" - - - uses: actions/cache@v3 - name: Setup pnpm cache - with: - path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- + bun-version: 1.0.15 - name: Install Dependencies - run: pnpm install --frozen-lockfile + run: bun install --frozen-lockfile - name: Create Release Pull Request id: changesets - uses: changesets/action@v1 + uses: changesets/action@v1.4.5 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}