Skip to content

Commit

Permalink
chore: Update size workflow to use bun as package manager and update …
Browse files Browse the repository at this point in the history
…node version to 20
  • Loading branch information
uiuxarghya committed Aug 13, 2024
1 parent 244d294 commit 6945b1b
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,23 @@ jobs:
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: andresz1/size-limit-action@v1
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun_version: latest

- name: Install dependencies
run: bun install

- name: Build project
run: bun run build

- name: Run size-limit
uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}


0 comments on commit 6945b1b

Please sign in to comment.