Skip to content

Commit d02fa47

Browse files
committed
ci: set working dir
1 parent 16f847b commit d02fa47

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ jobs:
3030
- uses: oven-sh/setup-bun@v2
3131
- name: Install dependencies
3232
run: bun i
33+
working-directory: app
3334
- name: Build package
34-
run: bun run build
35+
run: bun --cwd app run build
3536
- name: Publish package
36-
run: bunx pkg-pr-new publish
37+
run: bunx --cwd app pkg-pr-new publish

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ jobs:
1515
- uses: oven-sh/setup-bun@v2
1616
- name: Install dependencies
1717
run: bun i
18+
working-directory: app
1819
- name: Create release PR or publish package
1920
id: changesets
2021
uses: changesets/action@v1
2122
with:
22-
publish: bun release
23+
publish: bun --cwd app release
2324
title: "feature(release): version packages"
2425
commit: "ci(changesets): version packages"
2526
env:

0 commit comments

Comments
 (0)