Skip to content

Commit ef2be6a

Browse files
committed
feat: add publish job
1 parent 4db3447 commit ef2be6a

1 file changed

Lines changed: 35 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 35 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,4 +211,38 @@ jobs:
211211
working-directory: ./bun
212212
- name: Bun - Unit Tests
213213
run: bun test:unit
214-
working-directory: ./bun
214+
working-directory: ./bun
215+
216+
publish:
217+
name: Publish
218+
runs-on: ubuntu-latest
219+
needs:
220+
- bun-benchmark
221+
- bun-linux-x64-gnu
222+
- bun-linux-arm64-gnu
223+
- bun-linux-x64-musl
224+
- bun-linux-arm64-musl
225+
- bun-macos
226+
steps:
227+
- name: Checkout Repository
228+
uses: actions/checkout@v4
229+
- name: Install Bun
230+
uses: oven-sh/setup-bun@v2
231+
with:
232+
version: 1.2.13
233+
- name: Bun - Install Dependencies
234+
run: bun install
235+
working-directory: ./bun
236+
- name: Download all artifacts
237+
uses: actions/download-artifact@v4
238+
with:
239+
path: artifacts
240+
- name: List artifacts
241+
run: ls -R ./artifacts
242+
shell: bash
243+
- name: Prepare target packages
244+
run: bun prepublishOnly
245+
working-directory: ./bun
246+
- name: List target packages
247+
run: ls -R ./targetPackages
248+
shell: bash

0 commit comments

Comments
 (0)