Skip to content

Commit bc56ac6

Browse files
committed
chore: update bun configuration and dependencies
1 parent aefd285 commit bc56ac6

File tree

6 files changed

+474
-271
lines changed

6 files changed

+474
-271
lines changed

.github/workflows/deploy.yml

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535

3636
steps:
3737
- name: 📥 Checkout Repo
38-
uses: actions/checkout@v5
38+
uses: actions/checkout@v6
3939
with:
4040
fetch-depth: 0
4141

@@ -59,3 +59,55 @@ jobs:
5959
echo "registry=${REGISTRY_URL}" >> ./.npmrc
6060
bun publish --no-git-checks --access public
6161
rm ./.npmrc
62+
63+
build-cli:
64+
strategy:
65+
fail-fast: false
66+
matrix:
67+
include:
68+
- platform: 'macos-latest' # for Arm based macs (M1 and above).
69+
name: macos-arm64
70+
args: '--target aarch64-apple-darwin'
71+
ext: ''
72+
73+
- platform: 'macos-latest' # for Intel based macs.
74+
name: macos-x64
75+
args: '--target x86_64-apple-darwin'
76+
ext: ''
77+
78+
- platform: 'ubuntu-latest'
79+
name: linux-x64
80+
args: ''
81+
ext: ''
82+
83+
- platform: 'windows-latest'
84+
name: windows-x64
85+
args: ''
86+
ext: '.exe'
87+
88+
runs-on: ${{ matrix.platform }}
89+
90+
steps:
91+
- name: 📥 Checkout Repo
92+
uses: actions/checkout@v4
93+
with:
94+
fetch-depth: 0
95+
96+
- name: 🛠️ Setup Bun
97+
uses: oven-sh/setup-bun@v2
98+
with:
99+
bun-version: latest
100+
101+
- name: 📦 Install Dependencies
102+
run: bun install --frozen-lockfile
103+
104+
- name: ⚙️ Build Artifact
105+
run: bun run bun:build
106+
107+
- name: ⚙️ Upload Artifact
108+
uses: svenstaro/upload-release-action@v2
109+
with:
110+
repo_token: ${{ secrets.GITHUB_TOKEN }}
111+
file: dist/bin/cli${{ matrix.ext }}
112+
asset_name: unstack_${{ env.VERSION }}_${{ matrix.name }}${{ matrix.ext }}
113+
tag: ${{ env.VERSION }}

.github/workflows/integrate.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: 📥 Checkout Repo
24-
uses: actions/checkout@v5
24+
uses: actions/checkout@v6
2525
with:
2626
fetch-depth: 0
2727

@@ -46,7 +46,7 @@ jobs:
4646
run: bun run format
4747

4848
- name: 🤖 AutoFix Code
49-
uses: stefanzweifel/git-auto-commit-action@v6
49+
uses: stefanzweifel/git-auto-commit-action@v7
5050
with:
5151
commit_message: 'chore: apply code fixes [skip ci]'
5252

@@ -61,7 +61,7 @@ jobs:
6161
bunx changelogen@latest --bump
6262
6363
- name: 🔀 Create or Update Pull Request
64-
uses: peter-evans/create-pull-request@v7
64+
uses: peter-evans/create-pull-request@v8
6565
with:
6666
commit-message: 'ci(release): update version'
6767
title: 'ci(release): update version'

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
steps:
1717
- name: 📥 Checkout Repo
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 0
2121

0 commit comments

Comments
 (0)