Skip to content

Commit

Permalink
fix release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
raulfdm committed Dec 8, 2023
1 parent bc854f6 commit 37d74d9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 22 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ 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
with:
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
Expand Down
26 changes: 6 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 37d74d9

Please sign in to comment.