Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/pkg-pr-new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ jobs:
publish:
# Do not give fork pull requests a write-capable token while executing their package scripts.
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository)
needs: check
runs-on: ubuntu-latest
permissions:
contents: read
Expand All @@ -36,11 +35,12 @@ jobs:
node-version-file: .node-version
cache: pnpm
- run: pnpm install --frozen-lockfile
- uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: packages
path: packages
# Build and check here instead of waiting for the whole CI run, so the
# preview does not wait for the tests. A broken build still publishes nothing.
- run: pnpm build
- run: pnpm --filter comark-ui-docs run prepare
- run: pnpm check
Comment thread
vite-hub[bot] marked this conversation as resolved.
Resolved
- run: pnpm exec pkg-pr-new publish './packages/*' --pnpm --packageManager=pnpm
env:
# CI already built and checked these packages, including publint.
# The steps above already built and checked the packages, including publint.
pnpm_config_ignore_scripts: "true"
Loading