Skip to content

Commit d74caa3

Browse files
committed
ci: report the preview through pkg.pr.new alone
1 parent 956f1eb commit d74caa3

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,19 +76,9 @@ jobs:
7676

7777
- run: pnpm build
7878

79-
- id: preview
80-
run: |
79+
- run: |
8180
pnpm exec pkg-pr-new publish \
8281
--packageManager=pnpm \
8382
--no-template \
8483
--no-compact \
85-
--commentWithSha \
86-
--json preview.json \
87-
--comment=${{ github.repository == 'vrchatapi/vrchatapi-javascript' && 'update' || 'off' }}
88-
89-
echo "install=pnpm add $(jq -r '.packages[0].url' preview.json)" >> $GITHUB_OUTPUT
90-
91-
- uses: vrchatapi/specification/.github/actions/report@ci/modernise-actions
92-
with:
93-
sdk: javascript
94-
install: ${{ steps.preview.outputs.install }}
84+
--commentWithSha

0 commit comments

Comments
 (0)