Skip to content

Commit 2773d12

Browse files
committed
chore: run publish inside package directory for trusted publishing compatibility
1 parent dfd2204 commit 2773d12

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/dev-publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ jobs:
165165
pnpm --filter anya-ui exec npm version "$DEV_VERSION" --no-git-tag-version
166166
167167
- name: Publish to npm with dev tag
168-
run: pnpm --filter anya-ui publish --access public --provenance --no-git-checks --tag dev
168+
working-directory: packages/anya-ui
169+
run: pnpm publish --access public --provenance --no-git-checks --tag dev
169170

170171
- name: Advance last-dev-publish tag
171172
env:

.github/workflows/publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ jobs:
9797
run: pnpm build
9898

9999
- name: Publish anya-ui to npm
100-
run: pnpm --filter anya-ui publish --access public --provenance --no-git-checks --tag "${{ github.event.inputs.dist_tag }}"
100+
working-directory: packages/anya-ui
101+
run: pnpm publish --access public --provenance --no-git-checks --tag "${{ github.event.inputs.dist_tag }}"
101102

102103
- name: Summarize
103104
run: |

0 commit comments

Comments
 (0)